Subject: L68K: Yet another floppy diff
To: Jes.Sorensen@cern.ch (Jes Sorensen),
        linux-m68k@lists.linux-m68k.org (linux-list)
Date: Fri, 23 Jan 1998 11:13:19 +0100 (MET)
From: "J." Dorchain <dorchain@gate.moebelwalther.de>
Sender: owner-linux-m68k@phil.uni-sb.de
Reply-To: jdorchain@i-con.de

Hi,

another one in the never-going-to-end series of amiflop patches.
Tried it the first time not as a module.
When did the module interface changed, and how was amiflop overlooked?

Greetings,

Joerg


--- linux-2.1.79.curr/drivers/block/amiflop.c.orig	Thu Jan 22 23:22:09 1998
+++ linux-2.1.79.curr/drivers/block/amiflop.c	Thu Jan 22 23:24:56 1998
@@ -53,9 +53,8 @@
  * - fixed some race conditions (who finds the next may send it to me ;-)
  */
 
-#ifdef MODULE
 #include <linux/module.h>
-#endif
+
 #include <linux/sched.h>
 #include <linux/fs.h>
 #include <linux/fcntl.h>
@@ -117,7 +116,7 @@
 
 static long int fd_def_df0 = 0;     /* default for df0 if it doesn't identify */
 
-MODULE_PARM(fd_def_fd0,"l");
+MODULE_PARM(fd_def_df0,"l");
 
 /*
  *  Macros
