diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-10-19 19:51:03 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2008-12-20 12:21:02 -0500 |
commit | 9569dae75f6f6987e79fa26cf6da3fc24006c996 (patch) | |
tree | b5982f41aea6ccee37af54fc8f7750aaff7e0bff /arch/arm/mach-orion5x/common.h | |
parent | 6fd7c7fe72a46dfd227fe8db0c7b6863af90a982 (diff) |
[ARM] Orion: share GPIO handling code
Split off Orion GPIO handling code into plat-orion/, and add
support for multiple sets of (32) GPIO pins.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/common.h')
-rw-r--r-- | arch/arm/mach-orion5x/common.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h index a000c7c6ee96..798b9a5e3da9 100644 --- a/arch/arm/mach-orion5x/common.h +++ b/arch/arm/mach-orion5x/common.h | |||
@@ -51,13 +51,6 @@ int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); | |||
51 | struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); | 51 | struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); |
52 | int orion5x_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin); | 52 | int orion5x_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin); |
53 | 53 | ||
54 | /* | ||
55 | * Valid GPIO pins according to MPP setup, used by machine-setup. | ||
56 | * (/mach-orion/gpio.c). | ||
57 | */ | ||
58 | void orion5x_gpio_set_valid(unsigned pin, int valid); | ||
59 | void gpio_display(void); /* debug */ | ||
60 | |||
61 | struct machine_desc; | 54 | struct machine_desc; |
62 | struct meminfo; | 55 | struct meminfo; |
63 | struct tag; | 56 | struct tag; |