]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/asm-avr32/arch-at32ap/sm.h
[PATCH] avr32 architecture
[mirror_ubuntu-artful-kernel.git] / include / asm-avr32 / arch-at32ap / sm.h
1 /*
2 * AT32 System Manager interface.
3 *
4 * Copyright (C) 2006 Atmel Corporation
5 *
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__
12
13 struct irq_chip;
14 struct platform_device;
15
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;
22 };
23
24 extern struct platform_device at32_sm_device;
25 extern struct at32_sm system_manager;
26
27 #endif /* __ASM_AVR32_AT32_SM_H__ */