diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-06 03:02:57 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 03:02:57 -0400 |
commit | f541ae326fa120fa5c57433e4d9a133df212ce41 (patch) | |
tree | bdbd94ec72cfc601118051cb35e8617d55510177 /include/asm-generic/gpio.h | |
parent | e255357764f92afcafafbd4879b222b8c752065a (diff) | |
parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) |
Merge branch 'linus' into perfcounters/core-v2
Merge reason: we have gathered quite a few conflicts, need to merge upstream
Conflicts:
arch/powerpc/kernel/Makefile
arch/x86/ia32/ia32entry.S
arch/x86/include/asm/hardirq.h
arch/x86/include/asm/unistd_32.h
arch/x86/include/asm/unistd_64.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/irq.c
arch/x86/kernel/syscall_table_32.S
arch/x86/mm/iomap_32.c
include/linux/sched.h
kernel/Makefile
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-generic/gpio.h')
-rw-r--r-- | include/asm-generic/gpio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 81797ec9ab29..d6c379dc64fa 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h | |||
@@ -55,6 +55,10 @@ struct module; | |||
55 | * handled is (base + ngpio - 1). | 55 | * handled is (base + ngpio - 1). |
56 | * @can_sleep: flag must be set iff get()/set() methods sleep, as they | 56 | * @can_sleep: flag must be set iff get()/set() methods sleep, as they |
57 | * must while accessing GPIO expander chips over I2C or SPI | 57 | * must while accessing GPIO expander chips over I2C or SPI |
58 | * @names: if set, must be an array of strings to use as alternative | ||
59 | * names for the GPIOs in this chip. Any entry in the array | ||
60 | * may be NULL if there is no alias for the GPIO, however the | ||
61 | * array must be @ngpio entries long. | ||
58 | * | 62 | * |
59 | * A gpio_chip can help platforms abstract various sources of GPIOs so | 63 | * A gpio_chip can help platforms abstract various sources of GPIOs so |
60 | * they can all be accessed through a common programing interface. | 64 | * they can all be accessed through a common programing interface. |
@@ -92,6 +96,7 @@ struct gpio_chip { | |||
92 | struct gpio_chip *chip); | 96 | struct gpio_chip *chip); |
93 | int base; | 97 | int base; |
94 | u16 ngpio; | 98 | u16 ngpio; |
99 | char **names; | ||
95 | unsigned can_sleep:1; | 100 | unsigned can_sleep:1; |
96 | unsigned exported:1; | 101 | unsigned exported:1; |
97 | }; | 102 | }; |