imx: only select HAVE_CAN_FLEXCAN if CAN is enabled
This fixes a warning warning: (IMX_HAVE_PLATFORM_FLEXCAN && ARCH_MXC) selects HAVE_CAN_FLEXCAN which has unmet direct dependencies (NET && CAN) (The warning in general exists since246cf9c
(kbuild: Warn on selecting symbols with unmet direct dependencies) which was reverted between71ebc01
and b1f7d6e.) Reported-and-introduced-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Родитель
2c6605def5
Коммит
71226a4dbf
|
@ -6,7 +6,7 @@ config IMX_HAVE_PLATFORM_FEC
|
|||
default y if ARCH_MX25 || SOC_IMX27 || ARCH_MX35 || ARCH_MX51
|
||||
|
||||
config IMX_HAVE_PLATFORM_FLEXCAN
|
||||
select HAVE_CAN_FLEXCAN
|
||||
select HAVE_CAN_FLEXCAN if CAN
|
||||
bool
|
||||
|
||||
config IMX_HAVE_PLATFORM_IMX_I2C
|
||||
|
|
Загрузка…
Ссылка в новой задаче