summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/enternow_pci.c
diff options
context:
space:
mode:
authorKarsten Keil <kkeil@suse.de>2006-07-10 13:44:11 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-10 22:24:15 +0200
commit67eb5db5874076db01febed5a1a9281628fa9fb4 (patch)
tree5116e91370d700c5eb497f13a24f10203baf5caa /drivers/isdn/hisax/enternow_pci.c
parent[PATCH] Updates CREDITS file (diff)
downloadlinux-67eb5db5874076db01febed5a1a9281628fa9fb4.tar.xz
linux-67eb5db5874076db01febed5a1a9281628fa9fb4.zip
[PATCH] hisax: fix usage of __init*
Fix the warnings about the section mismatches for __init* in the HiSax driver. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hisax/enternow_pci.c')
-rw-r--r--drivers/isdn/hisax/enternow_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/enternow_pci.c b/drivers/isdn/hisax/enternow_pci.c
index 8fcbe2e7d765..76c7d29d1b2f 100644
--- a/drivers/isdn/hisax/enternow_pci.c
+++ b/drivers/isdn/hisax/enternow_pci.c
@@ -301,10 +301,10 @@ enpci_interrupt(int intno, void *dev_id, struct pt_regs *regs)
}
-static struct pci_dev *dev_netjet __initdata = NULL;
+static struct pci_dev *dev_netjet __devinitdata = NULL;
/* called by config.c */
-int __init
+int __devinit
setup_enternow_pci(struct IsdnCard *card)
{
int bytecnt;