diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-07-17 07:04:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:05 -0400 |
commit | 6acee02712d0592dcd6120bc54d77c47cd2f6059 (patch) | |
tree | 2486aa7b50ed299aa44506840e1b2f32bf6bb77f /drivers | |
parent | 67837f232d6d55be99d6e0dec4ea9bb8112840cd (diff) |
Mismatching declarations of revision strings in HiSax
The {l1,l2,l3,lli,tei}_revision strings in the HiSax driver are 'const',
but have a mismatching declaration as 'extern char *' in config.c.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/hisax/config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c index 8d53a7fd2671..a43162c2ef15 100644 --- a/drivers/isdn/hisax/config.c +++ b/drivers/isdn/hisax/config.c | |||
@@ -361,11 +361,11 @@ module_param_array(io1, int, NULL, 0); | |||
361 | 361 | ||
362 | int nrcards; | 362 | int nrcards; |
363 | 363 | ||
364 | extern char *l1_revision; | 364 | extern const char *l1_revision; |
365 | extern char *l2_revision; | 365 | extern const char *l2_revision; |
366 | extern char *l3_revision; | 366 | extern const char *l3_revision; |
367 | extern char *lli_revision; | 367 | extern const char *lli_revision; |
368 | extern char *tei_revision; | 368 | extern const char *tei_revision; |
369 | 369 | ||
370 | char *HiSax_getrev(const char *revision) | 370 | char *HiSax_getrev(const char *revision) |
371 | { | 371 | { |