diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-05-08 16:38:58 +0100 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-06-13 12:55:29 +0100 |
commit | 6ce5764dbce55f0231fd5a714c1ff65527032365 (patch) | |
tree | fc9c39ad89b92a9f52d5b1180fbd5e7262b6c361 /arch | |
parent | 42ad59e37504d52e59926e910c720d3b60158dc9 (diff) | |
download | linux-6ce5764dbce55f0231fd5a714c1ff65527032365.tar.gz linux-6ce5764dbce55f0231fd5a714c1ff65527032365.tar.bz2 linux-6ce5764dbce55f0231fd5a714c1ff65527032365.zip |
metag/setup: Restrict scope for the capabilities variable
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/metag/kernel/setup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c index e18cebb076bf..c396cd0b425f 100644 --- a/arch/metag/kernel/setup.c +++ b/arch/metag/kernel/setup.c @@ -591,20 +591,20 @@ PTBI pTBI_get(unsigned int cpu) EXPORT_SYMBOL(pTBI_get); #if defined(CONFIG_METAG_DSP) && defined(CONFIG_METAG_FPU) -char capabilites[] = "dsp fpu"; +static char capabilities[] = "dsp fpu"; #elif defined(CONFIG_METAG_DSP) -char capabilites[] = "dsp"; +static char capabilities[] = "dsp"; #elif defined(CONFIG_METAG_FPU) -char capabilites[] = "fpu"; +static char capabilities[] = "fpu"; #else -char capabilites[] = ""; +static char capabilities[] = ""; #endif static struct ctl_table caps_kern_table[] = { { .procname = "capabilities", - .data = capabilites, - .maxlen = sizeof(capabilites), + .data = capabilities, + .maxlen = sizeof(capabilities), .mode = 0444, .proc_handler = proc_dostring, }, |