summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2007-02-07 18:19:01 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-02-07 18:19:01 +0100
commitba59c4b84a064e3e9d72d98b56f92a5b2aa71c22 (patch)
tree2dca579808beef9fa1c41a887af80a11eceb4453 /drivers
parenttc86c001: init_hwif_tc86c001() can be static (diff)
downloadlinux-ba59c4b84a064e3e9d72d98b56f92a5b2aa71c22.tar.xz
linux-ba59c4b84a064e3e9d72d98b56f92a5b2aa71c22.zip
tc86c001: mark init_chipset_tc86c001() with __devinit tag
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/pci/tc86c001.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/pci/tc86c001.c b/drivers/ide/pci/tc86c001.c
index 5bf28c5f6313..97dd709f211a 100644
--- a/drivers/ide/pci/tc86c001.c
+++ b/drivers/ide/pci/tc86c001.c
@@ -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);