]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Fix unmet direct dependencies for SERIAL_OMAP
authorTony Lindgren <tony@atomide.com>
Thu, 18 Apr 2013 17:54:29 +0000 (10:54 -0700)
committerArnd Bergmann <arnd@arndb.de>
Fri, 3 May 2013 20:38:53 +0000 (22:38 +0200)
commitbfaf4019656961e26376f25ab05b6766c2b686b7
tree44c3660e4b62d04c64e8a30b47da804625d546a8
parent77de9bb711caa77953ba2b7de4eb645dee6f4ce1
ARM: OMAP2+: Fix unmet direct dependencies for SERIAL_OMAP

Commit 4366739c (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>
arch/arm/configs/omap2plus_defconfig
arch/arm/mach-omap2/Kconfig