mirror of https://gitee.com/openkylin/linux.git
[PATCH] ide: hotplug mark __devinit ns87415.c
From: Herbert Xu <herbert@gondor.apana.org.au> mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems <janitor@sternwelten.at> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
This commit is contained in:
parent
a380a8849f
commit
c20530ed26
|
@ -195,7 +195,7 @@ static int ns87415_ide_dma_check (ide_drive_t *drive)
|
|||
return __ide_dma_check(drive);
|
||||
}
|
||||
|
||||
static void __init init_hwif_ns87415 (ide_hwif_t *hwif)
|
||||
static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif)
|
||||
{
|
||||
struct pci_dev *dev = hwif->pci_dev;
|
||||
unsigned int ctrl, using_inta;
|
||||
|
|
Loading…
Reference in New Issue