mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 15:09:53 +00:00
ide: ->quirkproc method cannot be marked __devinit
Now that we have warm-plug support ->quirkproc method no longer can be be marked __devinit. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
24307ffabd
commit
36de994809
@ -443,7 +443,7 @@ static u8 __devinit it821x_cable_detect(ide_hwif_t *hwif)
|
|||||||
* final tuning that is needed, or fixups to work around bugs.
|
* 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);
|
struct it821x_dev *itdev = ide_get_hwifdata(drive->hwif);
|
||||||
struct hd_driveid *id = drive->id;
|
struct hd_driveid *id = drive->id;
|
||||||
|
@ -639,7 +639,7 @@ static int is_dev_seagate_sata(ide_drive_t *drive)
|
|||||||
* that can occur before we know what drives are present.
|
* 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;
|
ide_hwif_t *hwif = drive->hwif;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user