mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
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: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
96fc3a45ea
commit
926b1e2ca3
@ -1,5 +1,5 @@
|
||||
#
|
||||
# GPIO infrastructure and expanders
|
||||
# platform-neutral GPIO infrastructure and expanders
|
||||
#
|
||||
|
||||
config ARCH_WANT_OPTIONAL_GPIOLIB
|
||||
|
@ -1,4 +1,8 @@
|
||||
# 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user