Commit bc6e6ea4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] parport_pc rmmod oops fix

The `user_specified' variable is used in cleanup_module() and hence cannot be
dropped from memory after module initialisation.
parent cfbb8488
......@@ -93,7 +93,7 @@ static struct superio_struct { /* For Super-IO chips autodetection */
int dma;
} superios[NR_SUPERIOS] __devinitdata = { {0,},};
static int user_specified __devinitdata = 0;
static int user_specified;
#if defined(CONFIG_PARPORT_PC_SUPERIO) || \
(defined(CONFIG_PARPORT_1284) && defined(CONFIG_PARPORT_PC_FIFO))
static int verbose_probing;
......
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