summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Makefile
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2010-06-29 15:05:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-06-29 15:29:32 -0700
commit926b1e2ca35ccb3cbe0ea9b322c5330869b95046 (patch)
treeae40cd7229adbc7720aee12eeb96d3aa4e56d3b9 /drivers/gpio/Makefile
parent96fc3a45ea073136566f3c2676cad52f8b39a7df (diff)
downloadblackbird-op-linux-926b1e2ca35ccb3cbe0ea9b322c5330869b95046.tar.gz
blackbird-op-linux-926b1e2ca35ccb3cbe0ea9b322c5330869b95046.zip
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>
Diffstat (limited to 'drivers/gpio/Makefile')
-rw-r--r--drivers/gpio/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 51c3cdd41b5a..e53dcff49b4f 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -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
OpenPOWER on IntegriCloud