allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / asm-avr32 / arch-at32ap / sm.h
blob265a9ead20bfc81996e225d51146186733099e69
1 /*
2 * AT32 System Manager interface.
4 * Copyright (C) 2006 Atmel Corporation
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef __ASM_AVR32_AT32_SM_H__
11 #define __ASM_AVR32_AT32_SM_H__
13 struct irq_chip;
14 struct platform_device;
16 struct at32_sm {
17 spinlock_t lock;
18 void __iomem *regs;
19 struct irq_chip *eim_chip;
20 unsigned int eim_first_irq;
21 struct platform_device *pdev;
24 extern struct platform_device at32_sm_device;
25 extern struct at32_sm system_manager;
27 #endif /* __ASM_AVR32_AT32_SM_H__ */