diff options
author | Karsten Keil <kkeil@suse.de> | 2006-07-10 07:44:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 16:24:15 -0400 |
commit | 67eb5db5874076db01febed5a1a9281628fa9fb4 (patch) | |
tree | 5116e91370d700c5eb497f13a24f10203baf5caa /drivers/isdn/hisax/gazel.c | |
parent | acbf8bd738f1357e0e3b97b918bef5be272b176e (diff) |
[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/gazel.c')
-rw-r--r-- | drivers/isdn/hisax/gazel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/hisax/gazel.c b/drivers/isdn/hisax/gazel.c index 3e7d92303582..fe2937267777 100644 --- a/drivers/isdn/hisax/gazel.c +++ b/drivers/isdn/hisax/gazel.c | |||
@@ -484,7 +484,7 @@ reserve_regions(struct IsdnCard *card, struct IsdnCardState *cs) | |||
484 | return 1; | 484 | return 1; |
485 | } | 485 | } |
486 | 486 | ||
487 | static int __init | 487 | static int __devinit |
488 | setup_gazelisa(struct IsdnCard *card, struct IsdnCardState *cs) | 488 | setup_gazelisa(struct IsdnCard *card, struct IsdnCardState *cs) |
489 | { | 489 | { |
490 | printk(KERN_INFO "Gazel: ISA PnP card automatic recognition\n"); | 490 | printk(KERN_INFO "Gazel: ISA PnP card automatic recognition\n"); |
@@ -532,9 +532,9 @@ setup_gazelisa(struct IsdnCard *card, struct IsdnCardState *cs) | |||
532 | return (0); | 532 | return (0); |
533 | } | 533 | } |
534 | 534 | ||
535 | static struct pci_dev *dev_tel __initdata = NULL; | 535 | static struct pci_dev *dev_tel __devinitdata = NULL; |
536 | 536 | ||
537 | static int __init | 537 | static int __devinit |
538 | setup_gazelpci(struct IsdnCardState *cs) | 538 | setup_gazelpci(struct IsdnCardState *cs) |
539 | { | 539 | { |
540 | u_int pci_ioaddr0 = 0, pci_ioaddr1 = 0; | 540 | u_int pci_ioaddr0 = 0, pci_ioaddr1 = 0; |
@@ -621,7 +621,7 @@ setup_gazelpci(struct IsdnCardState *cs) | |||
621 | return (0); | 621 | return (0); |
622 | } | 622 | } |
623 | 623 | ||
624 | int __init | 624 | int __devinit |
625 | setup_gazel(struct IsdnCard *card) | 625 | setup_gazel(struct IsdnCard *card) |
626 | { | 626 | { |
627 | struct IsdnCardState *cs = card->cs; | 627 | struct IsdnCardState *cs = card->cs; |