Skip to contentSkip to conversation

ide: ->quirkproc method cannot be marked __devinit

PATCH In review Bartlomiej Zolnierkiewicz 1 participant 1 message Aug 2, 2008 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ide: ->quirkproc method cannot be marked __devinit

Now that we have warm-plug support ->quirkproc method no longer can be be marked __devinit.

---
 drivers/ide/pci/it821x.c  |    2 +-
 drivers/ide/pci/siimage.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/ide/pci/it821x.c +1 -1
Index: b/drivers/ide/pci/it821x.c
===================================================================
@@ -442,7 +442,7 @@ static u8 __devinit it821x_cable_detect(
  *	final tuning that is needed, or fixups to work around bugs.
  */
 
-static void __devinit it821x_quirkproc(ide_drive_t *drive)
+static void it821x_quirkproc(ide_drive_t *drive)
 {
 	struct it821x_dev *itdev = ide_get_hwifdata(drive->hwif);
 	u16 *id = drive->id;
drivers/ide/pci/siimage.c +1 -1
Index: b/drivers/ide/pci/siimage.c
===================================================================
@@ -640,7 +640,7 @@ static int is_dev_seagate_sata(ide_drive
  *	that can occur before we know what drives are present.
  */
 
-static void __devinit sil_quirkproc(ide_drive_t *drive)
+static void sil_quirkproc(ide_drive_t *drive)
 {
 	ide_hwif_t *hwif = drive->hwif;