aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide/pci
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/ide/pci
parente8ab7f536f014e5d86ce6cf7860d5def6cc5f715 (diff)
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/ide/pci')
-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 5bf28c5f631..97dd709f211 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);