Skip to content

Commit

Permalink
drivers/gpio is platform-neutral
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Linus Torvalds committed Jun 29, 2010
1 parent 96fc3a4 commit 926b1e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# GPIO infrastructure and expanders
# platform-neutral GPIO infrastructure and expanders
#

config ARCH_WANT_OPTIONAL_GPIOLIB
Expand Down
6 changes: 5 additions & 1 deletion drivers/gpio/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 926b1e2

Please sign in to comment.