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

Next file: linux/arch/m68k/atari/ksyms.c
Previous file: linux/arch/i386/mm/extable.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.17/linux/arch/m68k/amiga/ksyms.c linux/arch/m68k/amiga/ksyms.c
@@ -6,37 +6,21 @@
 extern volatile u_short amiga_audio_min_period;
 extern u_short amiga_audio_period;
 
-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),
-  X(amiga_chip_avail),
-  X(amiga_audio_period),
-  X(amiga_audio_min_period),
-
-  X(zorro_find),
-  X(zorro_get_board),
-  X(zorro_config_board),
-  X(zorro_unconfig_board),
-  X(zorro_unused_z2ram),
-
-  /* example
-  X(something_you_need),
-  */
-
-
-#include <linux/symtab_end.h>
-};
-
-void amiga_syms_export(void)
-{
-	register_symtab(&amiga_symbol_table);
-}
+/*
+ * Add things here when you find the need for it.
+ */
+EXPORT_SYMBOL(amiga_model);
+EXPORT_SYMBOL(amiga_hw_present);
+EXPORT_SYMBOL(amiga_eclock);
+EXPORT_SYMBOL(amiga_colorclock);
+EXPORT_SYMBOL(amiga_chip_alloc);
+EXPORT_SYMBOL(amiga_chip_free);
+EXPORT_SYMBOL(amiga_chip_avail);
+EXPORT_SYMBOL(amiga_audio_period);
+EXPORT_SYMBOL(amiga_audio_min_period);
+
+EXPORT_SYMBOL(zorro_find);
+EXPORT_SYMBOL(zorro_get_board);
+EXPORT_SYMBOL(zorro_config_board);
+EXPORT_SYMBOL(zorro_unconfig_board);
+EXPORT_SYMBOL(zorro_unused_z2ram);

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