USB: add driver for iowarrior devices.
[pandora-kernel.git] / include / asm-avr32 / module.h
1 #ifndef __ASM_AVR32_MODULE_H
2 #define __ASM_AVR32_MODULE_H
3
4 struct mod_arch_syminfo {
5         unsigned long got_offset;
6         int got_initialized;
7 };
8
9 struct mod_arch_specific {
10         /* Starting offset of got in the module core memory. */
11         unsigned long got_offset;
12         /* Size of the got. */
13         unsigned long got_size;
14         /* Number of symbols in syminfo. */
15         int nsyms;
16         /* Additional symbol information (got offsets). */
17         struct mod_arch_syminfo *syminfo;
18 };
19
20 #define Elf_Shdr                Elf32_Shdr
21 #define Elf_Sym                 Elf32_Sym
22 #define Elf_Ehdr                Elf32_Ehdr
23
24 #define MODULE_PROC_FAMILY "AVR32v1"
25
26 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
27
28 #endif /* __ASM_AVR32_MODULE_H */