git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
drivers
/
isdn
/
hisax
/
avm_pci.c
diff --git
a/drivers/isdn/hisax/avm_pci.c
b/drivers/isdn/hisax/avm_pci.c
index
369afd3
..
4abe5ff
100644
(file)
--- a/
drivers/isdn/hisax/avm_pci.c
+++ b/
drivers/isdn/hisax/avm_pci.c
@@
-12,6
+12,7
@@
*
*/
*
*/
+#include <linux/config.h>
#include <linux/init.h>
#include "hisax.h"
#include "isac.h"
#include <linux/init.h>
#include "hisax.h"
#include "isac.h"
@@
-639,7
+640,7
@@
clear_pending_hdlc_ints(struct IsdnCardState *cs)
}
#endif /* 0 */
}
#endif /* 0 */
-static void
+static void
__init
inithdlc(struct IsdnCardState *cs)
{
cs->bcs[0].BC_SetStack = setstack_hdlc;
inithdlc(struct IsdnCardState *cs)
{
cs->bcs[0].BC_SetStack = setstack_hdlc;
@@
-727,13
+728,13
@@
AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)
}
#ifdef CONFIG_PCI
}
#ifdef CONFIG_PCI
-static struct pci_dev *dev_avm __
dev
initdata = NULL;
+static struct pci_dev *dev_avm __initdata = NULL;
#endif
#ifdef __ISAPNP__
#endif
#ifdef __ISAPNP__
-static struct pnp_card *pnp_avm_c __
dev
initdata = NULL;
+static struct pnp_card *pnp_avm_c __initdata = NULL;
#endif
#endif
-int __
dev
init
+int __init
setup_avm_pcipnp(struct IsdnCard *card)
{
u_int val, ver;
setup_avm_pcipnp(struct IsdnCard *card)
{
u_int val, ver;
@@
-808,7
+809,7
@@
setup_avm_pcipnp(struct IsdnCard *card)
printk(KERN_WARNING "FritzPCI: No PCI card found\n");
return(0);
}
printk(KERN_WARNING "FritzPCI: No PCI card found\n");
return(0);
}
- cs->irq_flags |=
IRQF_SHARED
;
+ cs->irq_flags |=
SA_SHIRQ
;
#else
printk(KERN_WARNING "FritzPCI: NO_PCI_BIOS\n");
return (0);
#else
printk(KERN_WARNING "FritzPCI: NO_PCI_BIOS\n");
return (0);