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/bkm_a8.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/bkm_a8.c')
-rw-r--r-- | drivers/isdn/hisax/bkm_a8.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/isdn/hisax/bkm_a8.c b/drivers/isdn/hisax/bkm_a8.c index 15681f3e73b8..dae090a9a489 100644 --- a/drivers/isdn/hisax/bkm_a8.c +++ b/drivers/isdn/hisax/bkm_a8.c | |||
@@ -260,7 +260,7 @@ BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg) | |||
260 | return (0); | 260 | return (0); |
261 | } | 261 | } |
262 | 262 | ||
263 | static int __init | 263 | static int __devinit |
264 | sct_alloc_io(u_int adr, u_int len) | 264 | sct_alloc_io(u_int adr, u_int len) |
265 | { | 265 | { |
266 | if (!request_region(adr, len, "scitel")) { | 266 | if (!request_region(adr, len, "scitel")) { |
@@ -272,16 +272,16 @@ sct_alloc_io(u_int adr, u_int len) | |||
272 | return(0); | 272 | return(0); |
273 | } | 273 | } |
274 | 274 | ||
275 | static struct pci_dev *dev_a8 __initdata = NULL; | 275 | static struct pci_dev *dev_a8 __devinitdata = NULL; |
276 | static u16 sub_vendor_id __initdata = 0; | 276 | static u16 sub_vendor_id __devinitdata = 0; |
277 | static u16 sub_sys_id __initdata = 0; | 277 | static u16 sub_sys_id __devinitdata = 0; |
278 | static u_char pci_bus __initdata = 0; | 278 | static u_char pci_bus __devinitdata = 0; |
279 | static u_char pci_device_fn __initdata = 0; | 279 | static u_char pci_device_fn __devinitdata = 0; |
280 | static u_char pci_irq __initdata = 0; | 280 | static u_char pci_irq __devinitdata = 0; |
281 | 281 | ||
282 | #endif /* CONFIG_PCI */ | 282 | #endif /* CONFIG_PCI */ |
283 | 283 | ||
284 | int __init | 284 | int __devinit |
285 | setup_sct_quadro(struct IsdnCard *card) | 285 | setup_sct_quadro(struct IsdnCard *card) |
286 | { | 286 | { |
287 | #ifdef CONFIG_PCI | 287 | #ifdef CONFIG_PCI |