diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-03 11:22:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-03 11:22:06 -0400 |
commit | cf0223503e6198292cdcc864e01eeb5fe7490752 (patch) | |
tree | 5ed99ae5fc7a67ec19df19f4b46b0c04d97db174 /include | |
parent | 3f8ddb032afa729d4bad1bf2965d3ec068de6b72 (diff) | |
parent | e857bfd4604a3a4edaf9c7038db880d9f78aecbd (diff) |
Merge branch 'sh-latest' of git://github.com/pmundt/linux-sh
* 'sh-latest' of git://github.com/pmundt/linux-sh:
sh: Add default uImage rule for sh7757lcr
sh: modify the asm/sh_eth.h to linux/sh_eth.h in sh7757lcr
sh: userimask.c needs linux/stat.h
sh: pfc: Add GPIO IRQ support
sh: modify the asm/sh_eth.h to linux/sh_eth.h in some boards
sh: pfc: Remove unused gpio_in_use member
sh: add parameters for EHCI and RIIC in clock-sh7757.c
sh: kexec: Add PHYSICAL_START
SH: irq: Remove IRQF_DISABLED
sh: pfc: get_config_reg() shift clean up
sh: intc: Add IRQ trigger bit field check
sh: drop unused Kconfig symbol
sh: Fix implicit declaration of function numa_node_id
sh: kexec: Register crashk_res
sh: ecovec: add renesas_usbhs DMAEngine support
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sh_pfc.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/sh_pfc.h b/include/linux/sh_pfc.h index 30cae70874f..bc8c9208f7e 100644 --- a/include/linux/sh_pfc.h +++ b/include/linux/sh_pfc.h | |||
@@ -61,6 +61,14 @@ struct pinmux_data_reg { | |||
61 | .reg = r, .reg_width = r_width, \ | 61 | .reg = r, .reg_width = r_width, \ |
62 | .enum_ids = (pinmux_enum_t [r_width]) \ | 62 | .enum_ids = (pinmux_enum_t [r_width]) \ |
63 | 63 | ||
64 | struct pinmux_irq { | ||
65 | int irq; | ||
66 | pinmux_enum_t *enum_ids; | ||
67 | }; | ||
68 | |||
69 | #define PINMUX_IRQ(irq_nr, ids...) \ | ||
70 | { .irq = irq_nr, .enum_ids = (pinmux_enum_t []) { ids, 0 } } \ | ||
71 | |||
64 | struct pinmux_range { | 72 | struct pinmux_range { |
65 | pinmux_enum_t begin; | 73 | pinmux_enum_t begin; |
66 | pinmux_enum_t end; | 74 | pinmux_enum_t end; |
@@ -87,7 +95,9 @@ struct pinmux_info { | |||
87 | pinmux_enum_t *gpio_data; | 95 | pinmux_enum_t *gpio_data; |
88 | unsigned int gpio_data_size; | 96 | unsigned int gpio_data_size; |
89 | 97 | ||
90 | unsigned long *gpio_in_use; | 98 | struct pinmux_irq *gpio_irq; |
99 | unsigned int gpio_irq_size; | ||
100 | |||
91 | struct gpio_chip chip; | 101 | struct gpio_chip chip; |
92 | }; | 102 | }; |
93 | 103 | ||