提交 52d3ccf7 编写于 作者: P Paolo Ciarrocchi 提交者: Bartlomiej Zolnierkiewicz

IDE: Coding Style fixes to drivers/ide/ide-floppy.c

File is now error free.
Compile tested.

[bart: minor fixes, md5sum checked]
Signed-off-by: NPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 38bdb410
...@@ -396,7 +396,7 @@ static void idefloppy_retry_pc(ide_drive_t *drive) ...@@ -396,7 +396,7 @@ static void idefloppy_retry_pc(ide_drive_t *drive)
} }
/* The usual interrupt handler called during a packet command. */ /* The usual interrupt handler called during a packet command. */
static ide_startstop_t idefloppy_pc_intr (ide_drive_t *drive) static ide_startstop_t idefloppy_pc_intr(ide_drive_t *drive)
{ {
idefloppy_floppy_t *floppy = drive->driver_data; idefloppy_floppy_t *floppy = drive->driver_data;
ide_hwif_t *hwif = drive->hwif; ide_hwif_t *hwif = drive->hwif;
...@@ -1596,13 +1596,13 @@ static int idefloppy_revalidate_disk(struct gendisk *disk) ...@@ -1596,13 +1596,13 @@ static int idefloppy_revalidate_disk(struct gendisk *disk)
} }
static struct block_device_operations idefloppy_ops = { static struct block_device_operations idefloppy_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = idefloppy_open, .open = idefloppy_open,
.release = idefloppy_release, .release = idefloppy_release,
.ioctl = idefloppy_ioctl, .ioctl = idefloppy_ioctl,
.getgeo = idefloppy_getgeo, .getgeo = idefloppy_getgeo,
.media_changed = idefloppy_media_changed, .media_changed = idefloppy_media_changed,
.revalidate_disk= idefloppy_revalidate_disk .revalidate_disk = idefloppy_revalidate_disk
}; };
static int ide_floppy_probe(ide_drive_t *drive) static int ide_floppy_probe(ide_drive_t *drive)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册