Commit f567402f authored by Jens Axboe's avatar Jens Axboe

setup_str[] only used in modular builds.

parent c32a17b8
...@@ -112,8 +112,6 @@ static int setup_buson[MAXBOARDS]; ...@@ -112,8 +112,6 @@ static int setup_buson[MAXBOARDS];
static int setup_busoff[MAXBOARDS]; static int setup_busoff[MAXBOARDS];
static int setup_dmaspeed[MAXBOARDS] __initdata = { -1, -1, -1, -1 }; static int setup_dmaspeed[MAXBOARDS] __initdata = { -1, -1, -1, -1 };
static char *setup_str[MAXBOARDS] __initdata;
/* /*
* LILO/Module params: aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]] * LILO/Module params: aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]]
* *
...@@ -962,6 +960,7 @@ static int __init aha1542_query(int base_io, int *transl) ...@@ -962,6 +960,7 @@ static int __init aha1542_query(int base_io, int *transl)
} }
#ifndef MODULE #ifndef MODULE
static char *setup_str[MAXBOARDS] __initdata;
static int setup_idx = 0; static int setup_idx = 0;
void __init aha1542_setup(char *str, int *ints) void __init aha1542_setup(char *str, int *ints)
......
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