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/diva.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/diva.c')
-rw-r--r-- | drivers/isdn/hisax/diva.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/isdn/hisax/diva.c b/drivers/isdn/hisax/diva.c index 323a02ef3844..e294fa3918f3 100644 --- a/drivers/isdn/hisax/diva.c +++ b/drivers/isdn/hisax/diva.c | |||
@@ -887,13 +887,13 @@ Diva_card_msg(struct IsdnCardState *cs, int mt, void *arg) | |||
887 | return(0); | 887 | return(0); |
888 | } | 888 | } |
889 | 889 | ||
890 | static struct pci_dev *dev_diva __initdata = NULL; | 890 | static struct pci_dev *dev_diva __devinitdata = NULL; |
891 | static struct pci_dev *dev_diva_u __initdata = NULL; | 891 | static struct pci_dev *dev_diva_u __devinitdata = NULL; |
892 | static struct pci_dev *dev_diva201 __initdata = NULL; | 892 | static struct pci_dev *dev_diva201 __devinitdata = NULL; |
893 | static struct pci_dev *dev_diva202 __initdata = NULL; | 893 | static struct pci_dev *dev_diva202 __devinitdata = NULL; |
894 | 894 | ||
895 | #ifdef __ISAPNP__ | 895 | #ifdef __ISAPNP__ |
896 | static struct isapnp_device_id diva_ids[] __initdata = { | 896 | static struct isapnp_device_id diva_ids[] __devinitdata = { |
897 | { ISAPNP_VENDOR('G', 'D', 'I'), ISAPNP_FUNCTION(0x51), | 897 | { ISAPNP_VENDOR('G', 'D', 'I'), ISAPNP_FUNCTION(0x51), |
898 | ISAPNP_VENDOR('G', 'D', 'I'), ISAPNP_FUNCTION(0x51), | 898 | ISAPNP_VENDOR('G', 'D', 'I'), ISAPNP_FUNCTION(0x51), |
899 | (unsigned long) "Diva picola" }, | 899 | (unsigned long) "Diva picola" }, |
@@ -915,12 +915,12 @@ static struct isapnp_device_id diva_ids[] __initdata = { | |||
915 | { 0, } | 915 | { 0, } |
916 | }; | 916 | }; |
917 | 917 | ||
918 | static struct isapnp_device_id *ipid __initdata = &diva_ids[0]; | 918 | static struct isapnp_device_id *ipid __devinitdata = &diva_ids[0]; |
919 | static struct pnp_card *pnp_c __devinitdata = NULL; | 919 | static struct pnp_card *pnp_c __devinitdata = NULL; |
920 | #endif | 920 | #endif |
921 | 921 | ||
922 | 922 | ||
923 | int __init | 923 | int __devinit |
924 | setup_diva(struct IsdnCard *card) | 924 | setup_diva(struct IsdnCard *card) |
925 | { | 925 | { |
926 | int bytecnt = 8; | 926 | int bytecnt = 8; |