summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_mips.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-08-16 12:07:31 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-08-19 15:01:29 +0200
commit048c28c91e56781082bc17d181e460b81e7e8bcb (patch)
treea82c19b86eec3a0af0dcb5729b740661926089ef /drivers/bcma/driver_mips.c
parentgpio: Fix OF build problem on UM (diff)
downloadlinux-048c28c91e56781082bc17d181e460b81e7e8bcb.tar.xz
linux-048c28c91e56781082bc17d181e460b81e7e8bcb.zip
gpio: make any OF dependent driver depend on OF_GPIO
The drivers that depend on OF but not OF_GPIO are wreaking havoc with the autobuilders for archs that have all requirements for OF but not for OF_GPIO, particularly the UM (Usermode) arch does not have iomem (NO_IOMEM) which result in configuring GPIOLIB but without OF_GPIO which is wrong if the driver is using the .of_node of the gpiochip, which only appears with OF_GPIO. After a brief look at the drivers just depending on OF it seems most if not all of them actually require stuff from gpiolib-of so the dependency is wrong in the first place. This simply patches the Kconfig so that all GPIO drivers using OF depend on OF_GPIO rather than just OF. Cc: Rabin Vincent <rabin@rab.in> Cc: Pramod Gurav <pramod.gurav@smartplayin.com> Cc: Andreas Larsson <andreas@gaisler.com> Cc: Gregory CLEMENT <gregory.clement@free-electrons.com> Cc: Thierry Reding <treding@nvidia.com> Cc: Laxman Dewangan <ldewangan@nvidia.com> Cc: Alexandre Courbot <acourbot@nvidia.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Phil Reid <preid@electromag.com.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/bcma/driver_mips.c')
0 files changed, 0 insertions, 0 deletions