Skip to content

Commit

Permalink
tc86c001: mark init_chipset_tc86c001() with __devinit tag
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@osdl.org>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Andrew Morton authored and Bartlomiej Zolnierkiewicz committed Feb 7, 2007
1 parent e8ab7f5 commit ba59c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/ide/pci/tc86c001.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ static void __devinit init_hwif_tc86c001(ide_hwif_t *hwif)
hwif->drives[0].autodma = hwif->drives[1].autodma = hwif->autodma;
}

static unsigned int init_chipset_tc86c001(struct pci_dev *dev, const char *name)
static unsigned int __devinit init_chipset_tc86c001(struct pci_dev *dev,
const char *name)
{
int err = pci_request_region(dev, 5, name);

Expand Down

0 comments on commit ba59c4b

Please sign in to comment.