diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
| -rw-r--r-- | drivers/ide/ide-floppy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 4656587aa2f7..6ca3476d02c7 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
| @@ -82,7 +82,6 @@ | |||
| 82 | 82 | ||
| 83 | #define IDEFLOPPY_VERSION "0.99.newide" | 83 | #define IDEFLOPPY_VERSION "0.99.newide" |
| 84 | 84 | ||
| 85 | #include <linux/config.h> | ||
| 86 | #include <linux/module.h> | 85 | #include <linux/module.h> |
| 87 | #include <linux/types.h> | 86 | #include <linux/types.h> |
| 88 | #include <linux/string.h> | 87 | #include <linux/string.h> |
| @@ -2176,7 +2175,6 @@ static int ide_floppy_probe(ide_drive_t *drive) | |||
| 2176 | 2175 | ||
| 2177 | g->minors = 1 << PARTN_BITS; | 2176 | g->minors = 1 << PARTN_BITS; |
| 2178 | g->driverfs_dev = &drive->gendev; | 2177 | g->driverfs_dev = &drive->gendev; |
| 2179 | strcpy(g->devfs_name, drive->devfs_name); | ||
| 2180 | g->flags = drive->removable ? GENHD_FL_REMOVABLE : 0; | 2178 | g->flags = drive->removable ? GENHD_FL_REMOVABLE : 0; |
| 2181 | g->fops = &idefloppy_ops; | 2179 | g->fops = &idefloppy_ops; |
| 2182 | drive->attach = 1; | 2180 | drive->attach = 1; |
