Commit e851b620 authored by Adrian Bunk's avatar Adrian Bunk Committed by Bartlomiej Zolnierkiewicz

[PATCH] ide: possible cleanups

This patch contains the following possible cleanups:
- pci/cy82c693.c: make a needlessly global function static
- remove the following unneeded EXPORT_SYMBOL's:
  - ide-taskfile.c: do_rw_taskfile
  - ide-iops.c: default_hwif_iops
  - ide-iops.c: default_hwif_transport
  - ide-iops.c: wait_for_ready
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 83ae20c8
...@@ -104,8 +104,6 @@ void default_hwif_iops (ide_hwif_t *hwif) ...@@ -104,8 +104,6 @@ void default_hwif_iops (ide_hwif_t *hwif)
hwif->INSL = ide_insl; hwif->INSL = ide_insl;
} }
EXPORT_SYMBOL(default_hwif_iops);
/* /*
* MMIO operations, typically used for SATA controllers * MMIO operations, typically used for SATA controllers
*/ */
...@@ -329,8 +327,6 @@ void default_hwif_transport(ide_hwif_t *hwif) ...@@ -329,8 +327,6 @@ void default_hwif_transport(ide_hwif_t *hwif)
hwif->atapi_output_bytes = atapi_output_bytes; hwif->atapi_output_bytes = atapi_output_bytes;
} }
EXPORT_SYMBOL(default_hwif_transport);
/* /*
* Beginning of Taskfile OPCODE Library and feature sets. * Beginning of Taskfile OPCODE Library and feature sets.
*/ */
...@@ -529,8 +525,6 @@ int wait_for_ready (ide_drive_t *drive, int timeout) ...@@ -529,8 +525,6 @@ int wait_for_ready (ide_drive_t *drive, int timeout)
return 0; return 0;
} }
EXPORT_SYMBOL(wait_for_ready);
/* /*
* This routine busy-waits for the drive status to be not "busy". * This routine busy-waits for the drive status to be not "busy".
* It then checks the status for all of the "good" bits and none * It then checks the status for all of the "good" bits and none
......
...@@ -161,8 +161,6 @@ ide_startstop_t do_rw_taskfile (ide_drive_t *drive, ide_task_t *task) ...@@ -161,8 +161,6 @@ ide_startstop_t do_rw_taskfile (ide_drive_t *drive, ide_task_t *task)
return ide_stopped; return ide_stopped;
} }
EXPORT_SYMBOL(do_rw_taskfile);
/* /*
* set_multmode_intr() is invoked on completion of a WIN_SETMULT cmd. * set_multmode_intr() is invoked on completion of a WIN_SETMULT cmd.
*/ */
......
...@@ -469,7 +469,7 @@ static void __devinit init_hwif_cy82c693(ide_hwif_t *hwif) ...@@ -469,7 +469,7 @@ static void __devinit init_hwif_cy82c693(ide_hwif_t *hwif)
static __devinitdata ide_hwif_t *primary; static __devinitdata ide_hwif_t *primary;
void __devinit init_iops_cy82c693(ide_hwif_t *hwif) static void __devinit init_iops_cy82c693(ide_hwif_t *hwif)
{ {
if (PCI_FUNC(hwif->pci_dev->devfn) == 1) if (PCI_FUNC(hwif->pci_dev->devfn) == 1)
primary = hwif; primary = hwif;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment