diff options
Diffstat (limited to 'drivers/isdn/hysdn')
-rw-r--r-- | drivers/isdn/hysdn/hycapi.c | 1 | ||||
-rw-r--r-- | drivers/isdn/hysdn/hysdn_boot.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hysdn/hysdn_procconf.c | 1 | ||||
-rw-r--r-- | drivers/isdn/hysdn/hysdn_proclog.c | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/drivers/isdn/hysdn/hycapi.c b/drivers/isdn/hysdn/hycapi.c index fe874afa4f81..6299b06ae009 100644 --- a/drivers/isdn/hysdn/hycapi.c +++ b/drivers/isdn/hysdn/hycapi.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/skbuff.h> | 18 | #include <linux/skbuff.h> |
19 | #include <linux/netdevice.h> | 19 | #include <linux/netdevice.h> |
20 | #include <linux/slab.h> | ||
20 | 21 | ||
21 | #define VER_DRIVER 0 | 22 | #define VER_DRIVER 0 |
22 | #define VER_CARDTYPE 1 | 23 | #define VER_CARDTYPE 1 |
diff --git a/drivers/isdn/hysdn/hysdn_boot.c b/drivers/isdn/hysdn/hysdn_boot.c index be787e16bb79..4f541ef14f9e 100644 --- a/drivers/isdn/hysdn/hysdn_boot.c +++ b/drivers/isdn/hysdn/hysdn_boot.c | |||
@@ -143,7 +143,7 @@ pof_handle_data(hysdn_card * card, int datlen) | |||
143 | (boot->pof_recid == TAG_CABSDATA) ? "CABSDATA" : "ABSDATA", | 143 | (boot->pof_recid == TAG_CABSDATA) ? "CABSDATA" : "ABSDATA", |
144 | datlen, boot->pof_recoffset); | 144 | datlen, boot->pof_recoffset); |
145 | 145 | ||
146 | if ((boot->last_error = card->writebootseq(card, boot->buf.BootBuf, datlen) < 0)) | 146 | if ((boot->last_error = card->writebootseq(card, boot->buf.BootBuf, datlen)) < 0) |
147 | return (boot->last_error); /* error writing data */ | 147 | return (boot->last_error); /* error writing data */ |
148 | 148 | ||
149 | if (boot->pof_recoffset + datlen >= boot->pof_reclen) | 149 | if (boot->pof_recoffset + datlen >= boot->pof_reclen) |
diff --git a/drivers/isdn/hysdn/hysdn_procconf.c b/drivers/isdn/hysdn/hysdn_procconf.c index 90b35e1a4b7e..80966462d6dc 100644 --- a/drivers/isdn/hysdn/hysdn_procconf.c +++ b/drivers/isdn/hysdn/hysdn_procconf.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/poll.h> | 16 | #include <linux/poll.h> |
17 | #include <linux/proc_fs.h> | 17 | #include <linux/proc_fs.h> |
18 | #include <linux/pci.h> | 18 | #include <linux/pci.h> |
19 | #include <linux/slab.h> | ||
19 | #include <linux/smp_lock.h> | 20 | #include <linux/smp_lock.h> |
20 | #include <net/net_namespace.h> | 21 | #include <net/net_namespace.h> |
21 | 22 | ||
diff --git a/drivers/isdn/hysdn/hysdn_proclog.c b/drivers/isdn/hysdn/hysdn_proclog.c index 8bcae28c4409..e83f6fda32fe 100644 --- a/drivers/isdn/hysdn/hysdn_proclog.c +++ b/drivers/isdn/hysdn/hysdn_proclog.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/poll.h> | 14 | #include <linux/poll.h> |
15 | #include <linux/proc_fs.h> | 15 | #include <linux/proc_fs.h> |
16 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
17 | #include <linux/slab.h> | ||
17 | #include <linux/smp_lock.h> | 18 | #include <linux/smp_lock.h> |
18 | 19 | ||
19 | #include "hysdn_defs.h" | 20 | #include "hysdn_defs.h" |