patch-2.3.13 linux/drivers/acorn/block/fd1772.c
Next file: linux/drivers/acorn/char/mouse_rpc.c
Previous file: linux/arch/sparc64/vmlinux.lds
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Aug 2 10:19:52 1999
- Orig file:
v2.3.12/linux/drivers/acorn/block/fd1772.c
- Orig date:
Thu Jun 17 01:11:35 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/acorn/block/fd1772.c linux/drivers/acorn/block/fd1772.c
@@ -116,6 +116,8 @@
* 16/11/96 - Fiddled and frigged for 2.0.18
*
* DAG 30/01/99 - Started frobbing for 2.2.1
+ * DAG 20/06/99 - A little more frobbing:
+ * Included include/asm/uaccess.h for get_user/put_user
*/
#include <linux/sched.h>
@@ -142,6 +144,8 @@
#include <asm/irq.h>
#include <asm/pgtable.h>
#include <asm/segment.h>
+#include <asm/uaccess.h>
+
#define MAJOR_NR FLOPPY_MAJOR
#define FLOPPY_DMA 0
@@ -1600,7 +1604,7 @@
};
-int floppy_init(void)
+int fd1772_init(void)
{
int i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)