patch-2.1.36 linux/drivers/block/genhd.c
Next file: linux/drivers/block/ide.c
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Apr 17 13:20:44 1997
- Orig file:
v2.1.35/linux/drivers/block/genhd.c
- Orig date:
Sun Apr 13 10:18:20 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -25,6 +25,7 @@
#include <linux/major.h>
#include <linux/string.h>
#include <linux/blk.h>
+#include <linux/init.h>
#include <asm/system.h>
@@ -739,7 +740,7 @@
}
}
-static void setup_dev(struct gendisk *dev)
+static inline void setup_dev(struct gendisk *dev)
{
int i, drive;
int end_minor = dev->max_nr * dev->max_p;
@@ -762,7 +763,7 @@
}
}
-void device_setup(void)
+__initfunc(void device_setup(void))
{
extern void console_map_init(void);
#ifdef CONFIG_PNP_PARPORT
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov