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/hfc_pci.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/hfc_pci.c')
-rw-r--r-- | drivers/isdn/hisax/hfc_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c index 7241e73879ba..1df60ca9481f 100644 --- a/drivers/isdn/hisax/hfc_pci.c +++ b/drivers/isdn/hisax/hfc_pci.c | |||
@@ -1581,7 +1581,7 @@ hfcpci_bh(struct IsdnCardState *cs) | |||
1581 | /********************************/ | 1581 | /********************************/ |
1582 | /* called for card init message */ | 1582 | /* called for card init message */ |
1583 | /********************************/ | 1583 | /********************************/ |
1584 | static void __init | 1584 | static void |
1585 | inithfcpci(struct IsdnCardState *cs) | 1585 | inithfcpci(struct IsdnCardState *cs) |
1586 | { | 1586 | { |
1587 | cs->bcs[0].BC_SetStack = setstack_2b; | 1587 | cs->bcs[0].BC_SetStack = setstack_2b; |
@@ -1638,11 +1638,11 @@ hfcpci_card_msg(struct IsdnCardState *cs, int mt, void *arg) | |||
1638 | 1638 | ||
1639 | 1639 | ||
1640 | /* this variable is used as card index when more than one cards are present */ | 1640 | /* this variable is used as card index when more than one cards are present */ |
1641 | static struct pci_dev *dev_hfcpci __initdata = NULL; | 1641 | static struct pci_dev *dev_hfcpci __devinitdata = NULL; |
1642 | 1642 | ||
1643 | #endif /* CONFIG_PCI */ | 1643 | #endif /* CONFIG_PCI */ |
1644 | 1644 | ||
1645 | int __init | 1645 | int __devinit |
1646 | setup_hfcpci(struct IsdnCard *card) | 1646 | setup_hfcpci(struct IsdnCard *card) |
1647 | { | 1647 | { |
1648 | u_long flags; | 1648 | u_long flags; |