Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 926b1e2c authored by David Brownell's avatar David Brownell Committed by Linus Torvalds
Browse files

drivers/gpio is platform-neutral



Update Kconfig and Makefile in drivers/gpio to discourage inappropriate
addition of platform-specific code.

[akpm@linux-foundation.org: fix tpyo]
Signed-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 96fc3a45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#
# GPIO infrastructure and expanders
# platform-neutral GPIO infrastructure and expanders
#

config ARCH_WANT_OPTIONAL_GPIOLIB
+5 −1
Original line number Diff line number Diff line
# gpio support: dedicated expander chips, etc
# generic gpio support: dedicated expander chips, etc
#
# NOTE: platform-specific GPIO drivers don't belong in the
# drivers/gpio directory; put them with other platform setup
# code, IRQ controllers, board init, etc.

ccflags-$(CONFIG_DEBUG_GPIO)	+= -DDEBUG