diff options
-rw-r--r-- | drivers/ide/ide-floppy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 3de9478fe306..a11ec86925a3 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -49,6 +49,10 @@ | |||
49 | 49 | ||
50 | #include "ide-floppy.h" | 50 | #include "ide-floppy.h" |
51 | 51 | ||
52 | /* module parameters */ | ||
53 | static unsigned long debug_mask; | ||
54 | module_param(debug_mask, ulong, 0644); | ||
55 | |||
52 | /* define to see debug info */ | 56 | /* define to see debug info */ |
53 | #define IDEFLOPPY_DEBUG_LOG 0 | 57 | #define IDEFLOPPY_DEBUG_LOG 0 |
54 | 58 | ||
@@ -889,6 +893,8 @@ static int ide_floppy_probe(ide_drive_t *drive) | |||
889 | 893 | ||
890 | drive->driver_data = floppy; | 894 | drive->driver_data = floppy; |
891 | 895 | ||
896 | drive->debug_mask = debug_mask; | ||
897 | |||
892 | idefloppy_setup(drive, floppy); | 898 | idefloppy_setup(drive, floppy); |
893 | 899 | ||
894 | g->minors = 1 << PARTN_BITS; | 900 | g->minors = 1 << PARTN_BITS; |