patch-2.1.17 linux/arch/m68k/amiga/ksyms.c

Next file: linux/arch/m68k/amiga/zorro.c
Previous file: linux/arch/m68k/amiga/cyberfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/arch/m68k/amiga/ksyms.c linux/arch/m68k/amiga/ksyms.c
@@ -1,18 +1,20 @@
+#include <linux/types.h>
 #include <linux/module.h>
 #include <asm/zorro.h>
-#include <asm/amigatypes.h>
 #include <asm/amigahw.h>
-#include <asm/amigatypes.h>
 
 extern volatile u_short amiga_audio_min_period;
 extern u_short amiga_audio_period;
 
-static struct symbol_table mach_amiga_symbol_table = {
+static struct symbol_table amiga_symbol_table = {
 #include <linux/symtab_begin.h>
 
   /*
    * Add things here when you find the need for it.
    */
+  X(amiga_model),
+  X(amiga_hw_present),
+  X(amiga_eclock),
   X(amiga_colorclock),
   X(amiga_chip_alloc),
   X(amiga_chip_free),
@@ -34,7 +36,7 @@
 #include <linux/symtab_end.h>
 };
 
-void mach_amiga_syms_export(void)
+void amiga_syms_export(void)
 {
-	register_symtab(&mach_amiga_symbol_table);
+	register_symtab(&amiga_symbol_table);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov