diff options
Diffstat (limited to 'drivers/isdn/capi/capi.c')
-rw-r--r-- | drivers/isdn/capi/capi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index 06163538bb20..12dee8e9fbbe 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -60,12 +60,12 @@ MODULE_LICENSE("GPL"); | |||
60 | 60 | ||
61 | static struct class_simple *capi_class; | 61 | static struct class_simple *capi_class; |
62 | 62 | ||
63 | int capi_major = 68; /* allocated */ | 63 | static int capi_major = 68; /* allocated */ |
64 | #ifdef CONFIG_ISDN_CAPI_MIDDLEWARE | 64 | #ifdef CONFIG_ISDN_CAPI_MIDDLEWARE |
65 | #define CAPINC_NR_PORTS 32 | 65 | #define CAPINC_NR_PORTS 32 |
66 | #define CAPINC_MAX_PORTS 256 | 66 | #define CAPINC_MAX_PORTS 256 |
67 | int capi_ttymajor = 191; | 67 | static int capi_ttymajor = 191; |
68 | int capi_ttyminors = CAPINC_NR_PORTS; | 68 | static int capi_ttyminors = CAPINC_NR_PORTS; |
69 | #endif /* CONFIG_ISDN_CAPI_MIDDLEWARE */ | 69 | #endif /* CONFIG_ISDN_CAPI_MIDDLEWARE */ |
70 | 70 | ||
71 | module_param_named(major, capi_major, uint, 0); | 71 | module_param_named(major, capi_major, uint, 0); |
@@ -268,7 +268,7 @@ static void capiminor_free(struct capiminor *mp) | |||
268 | kfree(mp); | 268 | kfree(mp); |
269 | } | 269 | } |
270 | 270 | ||
271 | struct capiminor *capiminor_find(unsigned int minor) | 271 | static struct capiminor *capiminor_find(unsigned int minor) |
272 | { | 272 | { |
273 | struct list_head *l; | 273 | struct list_head *l; |
274 | struct capiminor *p = NULL; | 274 | struct capiminor *p = NULL; |
@@ -1166,7 +1166,7 @@ static int capinc_tty_write_room(struct tty_struct *tty) | |||
1166 | return room; | 1166 | return room; |
1167 | } | 1167 | } |
1168 | 1168 | ||
1169 | int capinc_tty_chars_in_buffer(struct tty_struct *tty) | 1169 | static int capinc_tty_chars_in_buffer(struct tty_struct *tty) |
1170 | { | 1170 | { |
1171 | struct capiminor *mp = (struct capiminor *)tty->driver_data; | 1171 | struct capiminor *mp = (struct capiminor *)tty->driver_data; |
1172 | if (!mp || !mp->nccip) { | 1172 | if (!mp || !mp->nccip) { |