diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-01-30 13:01:32 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:07:05 +0200 |
commit | 2cb8bf74ea2ba80e42c575b121c4c5c906e83903 (patch) | |
tree | 7399071735872cd564a86beec12f4869b9de00a5 | |
parent | 63b0b4e154652897ae8c4dbe6228990d76d57b17 (diff) |
nmf-cm: Declare bool module param in bool type
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
-rw-r--r-- | drivers/staging/nmf-cm/configuration.h | 2 | ||||
-rw-r--r-- | drivers/staging/nmf-cm/osal-kernel.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/nmf-cm/configuration.h b/drivers/staging/nmf-cm/configuration.h index f4146dc6117..39416cde686 100644 --- a/drivers/staging/nmf-cm/configuration.h +++ b/drivers/staging/nmf-cm/configuration.h @@ -60,7 +60,7 @@ int init_config(void); module_param(cfgMpcYBanks_##mpc, uint, S_IRUGO); \ MODULE_PARM_DESC(cfgMpcYBanks_##mpc, "Nb of Y-Ram banks used on " #mpc); \ \ - static int cfgSchedulerTypeHybrid_##mpc = 1; \ + static bool cfgSchedulerTypeHybrid_##mpc = 1; \ module_param(cfgSchedulerTypeHybrid_##mpc, bool, S_IRUGO); \ MODULE_PARM_DESC(cfgSchedulerTypeHybrid_##mpc, "Scheduler used on " #mpc " (Hybrid or Synchronous)"); \ \ diff --git a/drivers/staging/nmf-cm/osal-kernel.c b/drivers/staging/nmf-cm/osal-kernel.c index 6e3221130c5..0dc8328dfc0 100644 --- a/drivers/staging/nmf-cm/osal-kernel.c +++ b/drivers/staging/nmf-cm/osal-kernel.c @@ -836,7 +836,7 @@ static int dspload_monitor(void *idx) return 0; } -static int enable_auto_pm = 1; +static bool enable_auto_pm = 1; module_param(enable_auto_pm, bool, S_IWUSR|S_IRUGO); /** \ingroup OSAL_IMPLEMENTATION |