fb: via: turn gpiolib and i2c selects into dependencies
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 20:12:33 +0000 (21:12 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Jan 2015 07:45:20 +0000 (09:45 +0200)
commit87f0fce775a1f8a011439d13c69415d4c2d8f825
tree793fc5f51575f2735f768f4341a37f190aa8de7e
parent5b72ae9a901cbfbe632570f278486142b037fe51
fb: via: turn gpiolib and i2c selects into dependencies

Device driver should not directly select subsystems. In this case
we get build warnings like

warning: (ARCH_REQUIRE_GPIOLIB && PINCTRL_AT91 && PINCTRL_NOMADIK && MFD_TC6393XB && FB_VIA) selects GPIOLIB which has unmet direct dependencies (ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB)

which we can avoid using the normal 'depends on' statement.

Also, this patch makes it possible for DRM drivers to have a dependency
on GPIOLIB without getting circular Kconfig dependencies.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/Kconfig