module_param: invbool should take a 'bool', not an 'int'

It takes an 'int' for historical reasons, and there are only two
users: simply switch it over to bool.

The other user (uvesafb.c) will get a (harmless-on-x86) warning until
the next patch is applied.

Cc: Brad Douglas <[email protected]>
Cc: Michal Januszewski <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
This commit is contained in:
Rusty Russell 2009-06-12 21:46:53 -06:00
commit 9a71af2c36
3 changed files with 4 additions and 4 deletions

View file

@ -354,7 +354,7 @@ static int default_crt_on __devinitdata = 0;
static int default_lcd_on __devinitdata = 1;
#ifdef CONFIG_MTRR
static int mtrr = 1;
static bool mtrr = true;
#endif
#ifdef CONFIG_PMAC_BACKLIGHT