patch-2.4.0-test12 linux/drivers/isdn/hisax/avm_a1p.c
Next file: linux/drivers/isdn/hisax/avm_pci.c
Previous file: linux/drivers/isdn/hisax/avm_a1.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Mon Nov 27 16:53:43 2000
- Orig file:
v2.4.0-test11/linux/drivers/isdn/hisax/avm_a1p.c
- Orig date:
Sun Aug 6 12:43:41 2000
diff -u --recursive --new-file v2.4.0-test11/linux/drivers/isdn/hisax/avm_a1p.c linux/drivers/isdn/hisax/avm_a1p.c
@@ -1,4 +1,4 @@
-/* $Id: avm_a1p.c,v 2.6 2000/06/26 08:59:12 keil Exp $
+/* $Id: avm_a1p.c,v 2.7 2000/11/24 17:05:37 kai Exp $
*
* avm_a1p.c low level stuff for the following AVM cards:
* A1 PCMCIA
@@ -10,6 +10,7 @@
* This file is (c) under GNU PUBLIC LICENSE
*/
#define __NO_VERSION__
+#include <linux/init.h>
#include "hisax.h"
#include "isac.h"
#include "hscx.h"
@@ -52,7 +53,7 @@
#define byteout(addr,val) outb(val,addr)
#define bytein(addr) inb(addr)
-static const char *avm_revision = "$Revision: 2.6 $";
+static const char *avm_revision = "$Revision: 2.7 $";
static inline u_char
ReadISAC(struct IsdnCardState *cs, u_char offset)
@@ -244,8 +245,8 @@
return 0;
}
-__initfunc(int
-setup_avm_a1_pcmcia(struct IsdnCard *card))
+int __devinit
+setup_avm_a1_pcmcia(struct IsdnCard *card)
{
u_char model, vers;
struct IsdnCardState *cs = card->cs;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)