diff options
author | Tony Lindgren <tony@atomide.com> | 2013-04-18 13:54:29 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-05-03 16:38:53 -0400 |
commit | eb16d33273532533400cb95189aa50d6b734db57 (patch) | |
tree | 44c3660e4b62d04c64e8a30b47da804625d546a8 /arch | |
parent | ccefeea91cf4cb9ce6045a50c4550e5f7d5b00ad (diff) |
ARM: OMAP2+: Fix unmet direct dependencies for SERIAL_OMAP
Commit 8a6201b9 (ARM: OMAP2+: Fix unmet direct dependencies for zoom
for 8250 serial) fixed unmet direct dependencies for 8250, but failed
to do the same for omap serial. This can cause the following warning:
warning: (ARCH_OMAP2PLUS_TYPICAL) selects SERIAL_OMAP which has
unmet direct dependencies (TTY && HAS_IOMEM && GENERIC_HARDIRQS &&
ARCH_OMAP2PLUS).
We should not select drivers, they should be selected by the
user. Fix the issue by removing the select and adding them to
omap2plus_defconfig instead.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/configs/omap2plus_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index b16bae2c9a60..7bc71ffa7a3e 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig | |||
@@ -134,6 +134,8 @@ CONFIG_SERIAL_8250_DETECT_IRQ=y | |||
134 | CONFIG_SERIAL_8250_RSA=y | 134 | CONFIG_SERIAL_8250_RSA=y |
135 | CONFIG_SERIAL_AMBA_PL011=y | 135 | CONFIG_SERIAL_AMBA_PL011=y |
136 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | 136 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
137 | CONFIG_SERIAL_OMAP=y | ||
138 | CONFIG_SERIAL_OMAP_CONSOLE=y | ||
137 | CONFIG_HW_RANDOM=y | 139 | CONFIG_HW_RANDOM=y |
138 | CONFIG_I2C_CHARDEV=y | 140 | CONFIG_I2C_CHARDEV=y |
139 | CONFIG_SPI=y | 141 | CONFIG_SPI=y |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 49ac3dfebef9..25ed9547bfb0 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -36,8 +36,6 @@ config ARCH_OMAP2PLUS_TYPICAL | |||
36 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | 36 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 |
37 | select PM_RUNTIME | 37 | select PM_RUNTIME |
38 | select REGULATOR | 38 | select REGULATOR |
39 | select SERIAL_OMAP | ||
40 | select SERIAL_OMAP_CONSOLE | ||
41 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | 39 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 |
42 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | 40 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 |
43 | select VFP | 41 | select VFP |