Commit 6acee027 authored by David Woodhouse's avatar David Woodhouse Committed by Linus Torvalds

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: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 67837f23
...@@ -361,11 +361,11 @@ module_param_array(io1, int, NULL, 0); ...@@ -361,11 +361,11 @@ module_param_array(io1, int, NULL, 0);
int nrcards; int nrcards;
extern char *l1_revision; extern const char *l1_revision;
extern char *l2_revision; extern const char *l2_revision;
extern char *l3_revision; extern const char *l3_revision;
extern char *lli_revision; extern const char *lli_revision;
extern char *tei_revision; extern const char *tei_revision;
char *HiSax_getrev(const char *revision) char *HiSax_getrev(const char *revision)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment