diff options
Diffstat (limited to 'drivers/block/ataflop.c')
-rw-r--r-- | drivers/block/ataflop.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c index 3cf489712..7a08808f2 100644 --- a/drivers/block/ataflop.c +++ b/drivers/block/ataflop.c @@ -75,6 +75,7 @@ #include <linux/delay.h> #include <linux/mm.h> #include <linux/malloc.h> +#include <linux/init.h> #include <asm/setup.h> #include <asm/system.h> @@ -1777,7 +1778,7 @@ static int fd_ioctl(struct inode *inode, struct file *filp, /* Initialize the 'unit' variable for drive 'drive' */ -static void fd_probe( int drive ) +__initfunc(static void fd_probe( int drive )) { UD.connected = 0; UDT = NULL; @@ -1820,7 +1821,7 @@ static void fd_probe( int drive ) * declared absent. */ -static int fd_test_drive_present( int drive ) +__initfunc(static int fd_test_drive_present( int drive )) { unsigned long timeout; unsigned char status; @@ -1867,7 +1868,7 @@ static int fd_test_drive_present( int drive ) * floppies, additionally start the disk-change and motor-off timers. */ -static void config_types( void ) +__initfunc(static void config_types( void )) { int drive, cnt = 0; @@ -2010,7 +2011,7 @@ static struct file_operations floppy_fops = { floppy_revalidate, /* revalidate */ }; -int atari_floppy_init (void) +__initfunc(int atari_floppy_init (void)) { int i; @@ -2070,7 +2071,7 @@ int atari_floppy_init (void) } -void atari_floppy_setup( char *str, int *ints ) +__initfunc(void atari_floppy_setup( char *str, int *ints )) { int i; |