diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-07-03 10:15:41 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> | 2005-07-03 10:15:41 -0400 |
commit | e895f926cd8b6d50a42cc985d470bdc9a70caeed (patch) | |
tree | 8c2bc70f185842dfcd795f06afdb33d65e193d51 /drivers/ide/pci/amd74xx.c | |
parent | c2f12589bfc4119f2c331ecea8cca4945ed48497 (diff) |
[PATCH] ide: hotplug mark __devinit amd74xx.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>
Diffstat (limited to 'drivers/ide/pci/amd74xx.c')
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 4e0f13d1d060..65eab9b63a79 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -309,7 +309,7 @@ static int amd74xx_ide_dma_check(ide_drive_t *drive) | |||
309 | * and initialize its drive independent registers. | 309 | * and initialize its drive independent registers. |
310 | */ | 310 | */ |
311 | 311 | ||
312 | static unsigned int __init init_chipset_amd74xx(struct pci_dev *dev, const char *name) | 312 | static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev, const char *name) |
313 | { | 313 | { |
314 | unsigned char t; | 314 | unsigned char t; |
315 | unsigned int u; | 315 | unsigned int u; |
@@ -413,7 +413,7 @@ static unsigned int __init init_chipset_amd74xx(struct pci_dev *dev, const char | |||
413 | return dev->irq; | 413 | return dev->irq; |
414 | } | 414 | } |
415 | 415 | ||
416 | static void __init init_hwif_amd74xx(ide_hwif_t *hwif) | 416 | static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) |
417 | { | 417 | { |
418 | int i; | 418 | int i; |
419 | 419 | ||