aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/dsp56k.c2
-rw-r--r--drivers/char/rio/host.h2
-rw-r--r--drivers/char/riscom8.h2
-rw-r--r--drivers/char/sx.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/dsp56k.c b/drivers/char/dsp56k.c
index acbfe1c49b4d..a69c65283260 100644
--- a/drivers/char/dsp56k.c
+++ b/drivers/char/dsp56k.c
@@ -136,7 +136,7 @@ static int sizeof_bootstrap = 375;
136 136
137 137
138static struct dsp56k_device { 138static struct dsp56k_device {
139 long in_use; 139 unsigned long in_use;
140 long maxio, timeout; 140 long maxio, timeout;
141 int tx_wsize, rx_wsize; 141 int tx_wsize, rx_wsize;
142} dsp56k; 142} dsp56k;
diff --git a/drivers/char/rio/host.h b/drivers/char/rio/host.h
index 23d0681fe491..78f24540c224 100644
--- a/drivers/char/rio/host.h
+++ b/drivers/char/rio/host.h
@@ -99,7 +99,7 @@ struct Host {
99 struct UnixRup UnixRups[MAX_RUP + LINKS_PER_UNIT]; 99 struct UnixRup UnixRups[MAX_RUP + LINKS_PER_UNIT];
100 int timeout_id; /* For calling 100 ms delays */ 100 int timeout_id; /* For calling 100 ms delays */
101 int timeout_sem; /* For calling 100 ms delays */ 101 int timeout_sem; /* For calling 100 ms delays */
102 long locks; /* long req'd for set_bit --RR */ 102 unsigned long locks; /* long req'd for set_bit --RR */
103 char ____end_marker____; 103 char ____end_marker____;
104}; 104};
105#define Control CardP->DpControl 105#define Control CardP->DpControl
diff --git a/drivers/char/riscom8.h b/drivers/char/riscom8.h
index 6317aade201a..9cc1313d5e67 100644
--- a/drivers/char/riscom8.h
+++ b/drivers/char/riscom8.h
@@ -71,7 +71,7 @@ struct riscom_port {
71 struct tty_struct * tty; 71 struct tty_struct * tty;
72 int count; 72 int count;
73 int blocked_open; 73 int blocked_open;
74 long event; /* long req'd for set_bit --RR */ 74 unsigned long event; /* long req'd for set_bit --RR */
75 int timeout; 75 int timeout;
76 int close_delay; 76 int close_delay;
77 unsigned char * xmit_buf; 77 unsigned char * xmit_buf;
diff --git a/drivers/char/sx.h b/drivers/char/sx.h
index 432aad0a2ddd..70d9783c7323 100644
--- a/drivers/char/sx.h
+++ b/drivers/char/sx.h
@@ -27,7 +27,7 @@ struct sx_port {
27 int c_dcd; 27 int c_dcd;
28 struct sx_board *board; 28 struct sx_board *board;
29 int line; 29 int line;
30 long locks; 30 unsigned long locks;
31}; 31};
32 32
33struct sx_board { 33struct sx_board {
@@ -45,7 +45,7 @@ struct sx_board {
45 int poll; 45 int poll;
46 int ta_type; 46 int ta_type;
47 struct timer_list timer; 47 struct timer_list timer;
48 long locks; 48 unsigned long locks;
49}; 49};
50 50
51struct vpd_prom { 51struct vpd_prom {