diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-12-02 06:08:27 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-12-02 10:59:06 -0500 |
commit | 85c4b31e6e462674a0392240e7e38ebe8bb22832 (patch) | |
tree | 2c95022da3f764628934956a08052190cef5e950 /arch/arm/mach-at91/generic.h | |
parent | 865a381223cff0d6d976d9bbe1d57a9288ba147b (diff) |
ARM: at91: remove old AT91-specific drivers
GPIO and LED drivers were replaced by generic ones for DT boards. These drivers
were remaining: delete them now. Modifications are also done on the
corresponding header files.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[nicolas.ferre@atmel.com: split patch]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
-rw-r--r-- | arch/arm/mach-at91/generic.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h index 6c5e67b0edfe..13c5b255e335 100644 --- a/arch/arm/mach-at91/generic.h +++ b/arch/arm/mach-at91/generic.h | |||
@@ -41,20 +41,4 @@ extern void at91sam9_idle(void); | |||
41 | 41 | ||
42 | /* Matrix */ | 42 | /* Matrix */ |
43 | extern void at91_ioremap_matrix(u32 base_addr); | 43 | extern void at91_ioremap_matrix(u32 base_addr); |
44 | |||
45 | /* GPIO */ | ||
46 | #define AT91RM9200_PQFP 3 /* AT91RM9200 PQFP package has 3 banks */ | ||
47 | #define AT91RM9200_BGA 4 /* AT91RM9200 BGA package has 4 banks */ | ||
48 | |||
49 | struct at91_gpio_bank { | ||
50 | unsigned short id; /* peripheral ID */ | ||
51 | unsigned long regbase; /* offset from system peripheral base */ | ||
52 | }; | ||
53 | extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks); | ||
54 | extern void __init at91_gpio_irq_setup(void); | ||
55 | extern int __init at91_gpio_of_irq_setup(struct device_node *node, | ||
56 | struct device_node *parent); | ||
57 | |||
58 | extern u32 at91_get_extern_irq(void); | ||
59 | |||
60 | #endif /* _AT91_GENERIC_H */ | 44 | #endif /* _AT91_GENERIC_H */ |