patch-2.3.50 linux/drivers/zorro/zorro.c

Next file: linux/drivers/zorro/zorrosyms.c
Previous file: linux/drivers/zorro/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/drivers/zorro/zorro.c linux/drivers/zorro/zorro.c
@@ -10,7 +10,7 @@
  *    for more details.
  */
 
-#include <linux/config.h>
+#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
@@ -75,6 +75,8 @@
      *  Possible uses:
      *      - z2ram device
      *      - SCSI DMA bounce buffers
+     *
+     *  FIXME: use the normal resource management
      */
 
 u32 zorro_unused_z2ram[4] = { 0, 0, 0, 0 };
@@ -151,8 +153,8 @@
 	if (m68k_memory[i].addr < 16*1024*1024)
 	    mark_region(m68k_memory[i].addr,
 			m68k_memory[i].addr+m68k_memory[i].size, 0);
-
-#ifdef CONFIG_PROC_FS
-    zorro_proc_init();
-#endif
 }
+
+
+EXPORT_SYMBOL(zorro_find_device);
+EXPORT_SYMBOL(zorro_unused_z2ram);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)