diff options
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_procconf.c')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_procconf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/isdn/hysdn/hysdn_procconf.c b/drivers/isdn/hysdn/hysdn_procconf.c index 40e56143c768..8e2b03889f3c 100644 --- a/drivers/isdn/hysdn/hysdn_procconf.c +++ b/drivers/isdn/hysdn/hysdn_procconf.c | |||
@@ -36,9 +36,9 @@ struct conf_writedata { | |||
36 | int buf_size; /* actual number of bytes in the buffer */ | 36 | int buf_size; /* actual number of bytes in the buffer */ |
37 | int needed_size; /* needed size when reading pof */ | 37 | int needed_size; /* needed size when reading pof */ |
38 | int state; /* actual interface states from above constants */ | 38 | int state; /* actual interface states from above constants */ |
39 | uchar conf_line[CONF_LINE_LEN]; /* buffered conf line */ | 39 | unsigned char conf_line[CONF_LINE_LEN]; /* buffered conf line */ |
40 | word channel; /* active channel number */ | 40 | unsigned short channel; /* active channel number */ |
41 | uchar *pof_buffer; /* buffer when writing pof */ | 41 | unsigned char *pof_buffer; /* buffer when writing pof */ |
42 | }; | 42 | }; |
43 | 43 | ||
44 | /***********************************************************************/ | 44 | /***********************************************************************/ |
@@ -49,7 +49,7 @@ struct conf_writedata { | |||
49 | static int | 49 | static int |
50 | process_line(struct conf_writedata *cnf) | 50 | process_line(struct conf_writedata *cnf) |
51 | { | 51 | { |
52 | uchar *cp = cnf->conf_line; | 52 | unsigned char *cp = cnf->conf_line; |
53 | int i; | 53 | int i; |
54 | 54 | ||
55 | if (cnf->card->debug_flags & LOG_CNF_LINE) | 55 | if (cnf->card->debug_flags & LOG_CNF_LINE) |
@@ -92,7 +92,7 @@ hysdn_conf_write(struct file *file, const char __user *buf, size_t count, loff_t | |||
92 | { | 92 | { |
93 | struct conf_writedata *cnf; | 93 | struct conf_writedata *cnf; |
94 | int i; | 94 | int i; |
95 | uchar ch, *cp; | 95 | unsigned char ch, *cp; |
96 | 96 | ||
97 | if (!count) | 97 | if (!count) |
98 | return (0); /* nothing to handle */ | 98 | return (0); /* nothing to handle */ |
@@ -390,7 +390,7 @@ int | |||
390 | hysdn_procconf_init(void) | 390 | hysdn_procconf_init(void) |
391 | { | 391 | { |
392 | hysdn_card *card; | 392 | hysdn_card *card; |
393 | uchar conf_name[20]; | 393 | unsigned char conf_name[20]; |
394 | 394 | ||
395 | hysdn_proc_entry = proc_mkdir(PROC_SUBDIR_NAME, proc_net); | 395 | hysdn_proc_entry = proc_mkdir(PROC_SUBDIR_NAME, proc_net); |
396 | if (!hysdn_proc_entry) { | 396 | if (!hysdn_proc_entry) { |
@@ -423,7 +423,7 @@ void | |||
423 | hysdn_procconf_release(void) | 423 | hysdn_procconf_release(void) |
424 | { | 424 | { |
425 | hysdn_card *card; | 425 | hysdn_card *card; |
426 | uchar conf_name[20]; | 426 | unsigned char conf_name[20]; |
427 | 427 | ||
428 | card = card_root; /* start with first card */ | 428 | card = card_root; /* start with first card */ |
429 | while (card) { | 429 | while (card) { |