diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-14 15:32:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-14 15:32:16 -0500 |
commit | 0a80939b3e6af4b0dc93bf88ec02fd7e90a16f1b (patch) | |
tree | a112335f2b2b2a51e90531c6c67e8a3b54dcf0ef /drivers/mmc/core | |
parent | 0b48d42235caf627121f440b57d376f48a9af8b6 (diff) | |
parent | 72db395ffadb1d33233fd123c2bf87ba0198c6c1 (diff) |
Merge tag 'for-linus' of git://github.com/rustyrussell/linux
Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1
* tag 'for-linus' of git://github.com/rustyrussell/linux:
module_param: check that bool parameters really are bool.
intelfbdrv.c: bailearly is an int module_param
paride/pcd: fix bool verbose module parameter.
module_param: make bool parameters really bool (drivers & misc)
module_param: make bool parameters really bool (arch)
module_param: make bool parameters really bool (core code)
kernel/async: remove redundant declaration.
printk: fix unnecessary module_param_name.
lirc_parallel: fix module parameter description.
module_param: avoid bool abuse, add bint for special cases.
module_param: check type correctness for module_param_array
modpost: use linker section to generate table.
modpost: use a table rather than a giant if/else statement.
modules: sysfs - export: taint, coresize, initsize
kernel/params: replace DEBUGP with pr_debug
module: replace DEBUGP with pr_debug
module: struct module_ref should contains long fields
module: Fix performance regression on modules with large symbol tables
module: Add comments describing how the "strmap" logic works
Fix up conflicts in scripts/mod/file2alias.c due to the new linker-
generated table approach to adding __mod_*_device_table entries. The
ARM sa11x0 mcp bus needed to be converted to that too.
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/core.c | 6 | ||||
-rw-r--r-- | drivers/mmc/core/core.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index bec0bf21c879..f545a3e6eb80 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -48,7 +48,7 @@ static struct workqueue_struct *workqueue; | |||
48 | * performance cost, and for other reasons may not always be desired. | 48 | * performance cost, and for other reasons may not always be desired. |
49 | * So we allow it it to be disabled. | 49 | * So we allow it it to be disabled. |
50 | */ | 50 | */ |
51 | int use_spi_crc = 1; | 51 | bool use_spi_crc = 1; |
52 | module_param(use_spi_crc, bool, 0); | 52 | module_param(use_spi_crc, bool, 0); |
53 | 53 | ||
54 | /* | 54 | /* |
@@ -58,9 +58,9 @@ module_param(use_spi_crc, bool, 0); | |||
58 | * overridden if necessary. | 58 | * overridden if necessary. |
59 | */ | 59 | */ |
60 | #ifdef CONFIG_MMC_UNSAFE_RESUME | 60 | #ifdef CONFIG_MMC_UNSAFE_RESUME |
61 | int mmc_assume_removable; | 61 | bool mmc_assume_removable; |
62 | #else | 62 | #else |
63 | int mmc_assume_removable = 1; | 63 | bool mmc_assume_removable = 1; |
64 | #endif | 64 | #endif |
65 | EXPORT_SYMBOL(mmc_assume_removable); | 65 | EXPORT_SYMBOL(mmc_assume_removable); |
66 | module_param_named(removable, mmc_assume_removable, bool, 0644); | 66 | module_param_named(removable, mmc_assume_removable, bool, 0644); |
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h index 34009241213c..3bdafbca354f 100644 --- a/drivers/mmc/core/core.h +++ b/drivers/mmc/core/core.h | |||
@@ -67,7 +67,7 @@ int mmc_attach_sd(struct mmc_host *host); | |||
67 | int mmc_attach_sdio(struct mmc_host *host); | 67 | int mmc_attach_sdio(struct mmc_host *host); |
68 | 68 | ||
69 | /* Module parameters */ | 69 | /* Module parameters */ |
70 | extern int use_spi_crc; | 70 | extern bool use_spi_crc; |
71 | 71 | ||
72 | /* Debugfs information for hosts and cards */ | 72 | /* Debugfs information for hosts and cards */ |
73 | void mmc_add_host_debugfs(struct mmc_host *host); | 73 | void mmc_add_host_debugfs(struct mmc_host *host); |