diff options
author | Remis Lima Baima <remis.developer@googlemail.com> | 2009-06-18 19:55:33 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-07-06 10:26:55 +0200 |
commit | 0a58458341fd571e521be542ff746a4a8995980c (patch) | |
tree | 995f6b12689cc2b1a7ebdd013a98754504b77e95 /arch/microblaze/include/asm/module.h | |
parent | 14f8738976991d2f8fb6ab6e10e9003562c3d6bb (diff) | |
download | blackbird-op-linux-0a58458341fd571e521be542ff746a4a8995980c.tar.gz blackbird-op-linux-0a58458341fd571e521be542ff746a4a8995980c.zip |
microblaze: convert all simple headers to use asm-generic
All the simple microblaze header files were adapted to use their
asm-generic implementations. These files are more simple and were quite
straightforward to change.
fb.h, vga.h and parport.h previously did not exist, using
the generic version makes it possible to build more drivers
successfully in allyesonfig.
Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/module.h')
-rw-r--r-- | arch/microblaze/include/asm/module.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/microblaze/include/asm/module.h b/arch/microblaze/include/asm/module.h index 914565a90315..7be1347fce42 100644 --- a/arch/microblaze/include/asm/module.h +++ b/arch/microblaze/include/asm/module.h @@ -9,6 +9,8 @@ #ifndef _ASM_MICROBLAZE_MODULE_H #define _ASM_MICROBLAZE_MODULE_H +#include <asm-generic/module.h> + /* Microblaze Relocations */ #define R_MICROBLAZE_NONE 0 #define R_MICROBLAZE_32 1 @@ -24,14 +26,6 @@ /* Keep this the last entry. */ #define R_MICROBLAZE_NUM 11 -struct mod_arch_specific { - int foo; -}; - -#define Elf_Shdr Elf32_Shdr -#define Elf_Sym Elf32_Sym -#define Elf_Ehdr Elf32_Ehdr - typedef struct { volatile int counter; } module_t; #endif /* _ASM_MICROBLAZE_MODULE_H */ |