diff options
author | Shailendra Verma <shailendra.capricorn@gmail.com> | 2015-05-25 22:24:57 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-09-03 23:02:25 +0300 |
commit | fedb25ea903d3520b6cff00c41740a892cf6bc0e (patch) | |
tree | 98b4ddd5e61ca9fa8254e0736db1ad683e6f7e00 /drivers/char/ipmi/ipmi_si_intf.c | |
parent | 881c585ef79addb2440a7f8d59bda5640d0ff623 (diff) | |
download | linux-fedb25ea903d3520b6cff00c41740a892cf6bc0e.tar.xz |
char:ipmi - Change 1 to true for bool type variables during initialization.
Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 6443e762b426..b1fdbf78da9b 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -1279,14 +1279,14 @@ static int smi_num; /* Used to sequence the SMIs */ #define DEFAULT_REGSIZE 1 #ifdef CONFIG_ACPI -static bool si_tryacpi = 1; +static bool si_tryacpi = true; #endif #ifdef CONFIG_DMI -static bool si_trydmi = 1; +static bool si_trydmi = true; #endif -static bool si_tryplatform = 1; +static bool si_tryplatform = true; #ifdef CONFIG_PCI -static bool si_trypci = 1; +static bool si_trypci = true; #endif static bool si_trydefaults = IS_ENABLED(CONFIG_IPMI_SI_PROBE_DEFAULTS); static char *si_type[SI_MAX_PARMS]; |