From: Arnd Bergmann Date: Thu, 13 Mar 2014 15:49:53 +0000 (+0100) Subject: ARM: pxa: don't "select" SMC91X on MACH_XCEP X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a0ad0fdb88e2693ae0a5144d728b807c9c1176d3;p=linux-beck.git ARM: pxa: don't "select" SMC91X on MACH_XCEP We normally don't hard-enable Kconfig options just because a board contains a specific piece of hardware. In this case, selecting SMC91X causes a build error, if we don't also enable basic network device driver support. Since the platform has no direct dependency on this driver at link time, we can just remove the 'select' statement. Signed-off-by: Arnd Bergmann Cc: Eric Miao Cc: Russell King Cc: Haojian Zhuang Cc: Daniel Mack --- diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index 96100dbf5a2e..5ed977c57de2 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig @@ -164,7 +164,6 @@ config MACH_XCEP select MTD_CFI_INTELEXT select MTD_PHYSMAP select PXA25x - select SMC91X help PXA255 based Single Board Computer with SMC 91C111 ethernet chip and 64 MB of flash. Tuned for usage in Libera instruments for particle accelerators.