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
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
isdn
/
act2000
/
act2000.h
diff --git
a/drivers/isdn/act2000/act2000.h
b/drivers/isdn/act2000/act2000.h
index
aa219cb
..
d4c5051
100644
(file)
--- a/
drivers/isdn/act2000/act2000.h
+++ b/
drivers/isdn/act2000/act2000.h
@@
-15,6
+15,8
@@
#ifndef act2000_h
#define act2000_h
#ifndef act2000_h
#define act2000_h
+#include <linux/compiler.h>
+
#define ACT2000_IOCTL_SETPORT 1
#define ACT2000_IOCTL_GETPORT 2
#define ACT2000_IOCTL_SETIRQ 3
#define ACT2000_IOCTL_SETPORT 1
#define ACT2000_IOCTL_GETPORT 2
#define ACT2000_IOCTL_SETIRQ 3
@@
-46,7
+48,7
@@
typedef struct act2000_cdef {
/* Struct for downloading firmware */
typedef struct act2000_ddef {
int length; /* Length of code */
/* Struct for downloading firmware */
typedef struct act2000_ddef {
int length; /* Length of code */
- char
*buffer;
/* Ptr. to code */
+ char
__user *buffer;
/* Ptr. to code */
} act2000_ddef;
typedef struct act2000_fwid {
} act2000_ddef;
typedef struct act2000_fwid {
@@
-179,17
+181,17
@@
typedef struct act2000_card {
char regname[35]; /* Name used for request_region */
} act2000_card;
char regname[35]; /* Name used for request_region */
} act2000_card;
-
extern __inline__
void act2000_schedule_tx(act2000_card *card)
+
static inline
void act2000_schedule_tx(act2000_card *card)
{
schedule_work(&card->snd_tq);
}
{
schedule_work(&card->snd_tq);
}
-
extern __inline__
void act2000_schedule_rx(act2000_card *card)
+
static inline
void act2000_schedule_rx(act2000_card *card)
{
schedule_work(&card->rcv_tq);
}
{
schedule_work(&card->rcv_tq);
}
-
extern __inline__
void act2000_schedule_poll(act2000_card *card)
+
static inline
void act2000_schedule_poll(act2000_card *card)
{
schedule_work(&card->poll_tq);
}
{
schedule_work(&card->poll_tq);
}