Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932401Ab3EBPQk (ORCPT ); Thu, 2 May 2013 11:16:40 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:49626 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758555Ab3EBPQg (ORCPT ); Thu, 2 May 2013 11:16:36 -0400 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Oliver Hartkopp , linux-can@vger.kernel.org Subject: [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV Date: Thu, 2 May 2013 17:16:05 +0200 Message-Id: <1367507786-505303-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367507786-505303-1-git-send-email-arnd@arndb.de> References: <1367507786-505303-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:dCMZOPzb5TLq74yE3gFuXAJVsp+5oBIssPOavcuD8iu HJBailOn5phjcvQ5XGLEwGZAVgTqye8dqejv5jmDYy5vyUkcEI Wy18OLg20sn8++gcWJHV6z5UeabFfkOU+R+0iBv5/jBrUV78+9 iFeaEWPAl3gWxENAAjE9JAKeRlB1G+eEaa/OZganpqoiJ3MoJ6 F/hN+g6m1ohWu2VD+9egN8+NNk8FlAbS8+zVV0kBLkiYNgsYpo e+tNOUDF2h5gBhfCYt3/M4rTDIBoEY4xCzdZ+9Mzplvo6rl9Dx vIsRl+Go7u7nEH+Gkeyg+AA+hVDQFQSVMd8tXasmnJa8qHzgte IOg56eOC7rIzsegS6jhJBqSn7hjSTyUF3cMyCzvSa Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1627 Lines: 48 CONFIG_HAVE_CAN_FLEXCAN is a silect symbol that is meant to be selected by platforms that support this driver, but that is not possible without also selecting CAN_DEV, unless we move it out of the "if CAN_DEV" section of the Kconfig file. warning: (SOC_IMX28 && SOC_IMX25 && SOC_IMX35 && IMX_HAVE_PLATFORM_FLEXCAN && SOC_IMX53 && SOC_IMX6Q) selects HAVE_CAN_FLEXCAN which has unmet direct dependencies (NET && CAN && CAN_DEV) Cc: Oliver Hartkopp Cc: linux-can@vger.kernel.org Signed-off-by: Arnd Bergmann --- drivers/net/can/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index e456b70..3941a7d 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig @@ -29,6 +29,9 @@ config CAN_SLCAN can be changed by the 'maxdev=xx' module option. This driver can also be built as a module. If so, the module will be called slcan. +config HAVE_CAN_FLEXCAN + bool + config CAN_DEV tristate "Platform CAN drivers with Netlink support" default y @@ -102,9 +105,6 @@ config CAN_JANZ_ICAN3 This driver can also be built as a module. If so, the module will be called janz-ican3.ko. -config HAVE_CAN_FLEXCAN - bool - config CAN_FLEXCAN tristate "Support for Freescale FLEXCAN based chips" depends on HAVE_CAN_FLEXCAN -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/