git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next/fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux...
[pandora-kernel.git]
/
arch
/
blackfin
/
mach-bf538
/
include
/
mach
/
gpio.h
diff --git
a/arch/blackfin/mach-bf538/include/mach/gpio.h
b/arch/blackfin/mach-bf538/include/mach/gpio.h
index
8a5beee
..
3561c7d
100644
(file)
--- a/
arch/blackfin/mach-bf538/include/mach/gpio.h
+++ b/
arch/blackfin/mach-bf538/include/mach/gpio.h
@@
-8,7
+8,10
@@
#define _MACH_GPIO_H_
#define MAX_BLACKFIN_GPIOS 16
+#ifdef CONFIG_GPIOLIB
+/* We only use the special logic with GPIOLIB devices */
#define BFIN_SPECIAL_GPIO_BANKS 3
+#endif
#define GPIO_PF0 0 /* PF */
#define GPIO_PF1 1