[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>
This commit is contained in:

committad av
Linus Torvalds

förälder
acbf8bd738
incheckning
67eb5db587
@@ -260,7 +260,7 @@ BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg)
|
||||
return (0);
|
||||
}
|
||||
|
||||
static int __init
|
||||
static int __devinit
|
||||
sct_alloc_io(u_int adr, u_int len)
|
||||
{
|
||||
if (!request_region(adr, len, "scitel")) {
|
||||
@@ -272,16 +272,16 @@ sct_alloc_io(u_int adr, u_int len)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static struct pci_dev *dev_a8 __initdata = NULL;
|
||||
static u16 sub_vendor_id __initdata = 0;
|
||||
static u16 sub_sys_id __initdata = 0;
|
||||
static u_char pci_bus __initdata = 0;
|
||||
static u_char pci_device_fn __initdata = 0;
|
||||
static u_char pci_irq __initdata = 0;
|
||||
static struct pci_dev *dev_a8 __devinitdata = NULL;
|
||||
static u16 sub_vendor_id __devinitdata = 0;
|
||||
static u16 sub_sys_id __devinitdata = 0;
|
||||
static u_char pci_bus __devinitdata = 0;
|
||||
static u_char pci_device_fn __devinitdata = 0;
|
||||
static u_char pci_irq __devinitdata = 0;
|
||||
|
||||
#endif /* CONFIG_PCI */
|
||||
|
||||
int __init
|
||||
int __devinit
|
||||
setup_sct_quadro(struct IsdnCard *card)
|
||||
{
|
||||
#ifdef CONFIG_PCI
|
||||
|
Referens i nytt ärende
Block a user