patch-2.4.23 linux-2.4.23/drivers/ide/ide-probe-mini.c

Next file: linux-2.4.23/drivers/ide/ide-probe.c
Previous file: linux-2.4.23/drivers/ide/ide-iops.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/ide/ide-probe-mini.c linux-2.4.23/drivers/ide/ide-probe-mini.c
@@ -0,0 +1,29 @@
+/*
+ *  linux/drivers/ide/ide-probe-mini.c	Version 1
+ *
+ *  Copyright (C) 1994-1998  Linus Torvalds & authors (see below)
+ */
+
+#include <linux/config.h>
+#include <linux/module.h>
+#include <linux/types.h>
+#include <linux/string.h>
+#include <linux/kernel.h>
+#include <linux/kmod.h>
+
+#ifdef MODULE
+extern int ideprobe_init_module(void);
+
+int init_module (void)
+{
+    return ideprobe_init_module();
+}
+
+extern void ideprobe_cleanup_module(void);
+
+void cleanup_module (void)
+{
+    ideprobe_cleanup_module();
+}
+MODULE_LICENSE("GPL");
+#endif /* MODULE */

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