mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 12:46:17 +00:00
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: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
38bdb4105e
commit
52d3ccf762
1 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Reference in a new issue