ba854e1841
Patch from Andrew Victor The AIC interrupt controller is the same on the Atmel AT91RM9200, AT91SAM9261 and AT91SAM9260 processors. This patch removes any RM9200-specific naming from the IRQ driver, and moves the AT91RM9200's default IRQ priority table into at91rm9200.c. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
31 lines
901 B
C
31 lines
901 B
C
/*
|
|
* linux/arch/arm/mach-at91rm9200/generic.h
|
|
*
|
|
* Copyright (C) 2005 David Brownell
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/* Interrupts */
|
|
extern void __init at91rm9200_init_irq(unsigned int priority[]);
|
|
extern void __init at91_aic_init(unsigned int priority[]);
|
|
extern void __init at91_gpio_irq_setup(unsigned banks);
|
|
|
|
/* Timer */
|
|
struct sys_timer;
|
|
extern struct sys_timer at91rm9200_timer;
|
|
|
|
/* Memory Map */
|
|
extern void __init at91rm9200_map_io(void);
|
|
|
|
/* Clocks */
|
|
extern int __init at91_clock_init(unsigned long main_clock);
|
|
struct device;
|
|
extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func);
|
|
|
|
/* Power Management */
|
|
extern void at91_irq_suspend(void);
|
|
extern void at91_irq_resume(void);
|
|
|