mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
module_param: make bool parameters really bool (drivers & misc)
module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.
It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.
Acked-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
This commit is contained in:
parent
476bc0015b
commit
90ab5ee941
283 changed files with 471 additions and 465 deletions
|
|
@ -24,15 +24,15 @@
|
|||
#include "yenta_socket.h"
|
||||
#include "i82365.h"
|
||||
|
||||
static int disable_clkrun;
|
||||
static bool disable_clkrun;
|
||||
module_param(disable_clkrun, bool, 0444);
|
||||
MODULE_PARM_DESC(disable_clkrun, "If PC card doesn't function properly, please try this option");
|
||||
|
||||
static int isa_probe = 1;
|
||||
static bool isa_probe = 1;
|
||||
module_param(isa_probe, bool, 0444);
|
||||
MODULE_PARM_DESC(isa_probe, "If set ISA interrupts are probed (default). Set to N to disable probing");
|
||||
|
||||
static int pwr_irqs_off;
|
||||
static bool pwr_irqs_off;
|
||||
module_param(pwr_irqs_off, bool, 0644);
|
||||
MODULE_PARM_DESC(pwr_irqs_off, "Force IRQs off during power-on of slot. Use only when seeing IRQ storms!");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue