aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-01-14 15:32:16 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-14 15:32:16 -0500
commit0a80939b3e6af4b0dc93bf88ec02fd7e90a16f1b (patch)
treea112335f2b2b2a51e90531c6c67e8a3b54dcf0ef /drivers/mmc
parent0b48d42235caf627121f440b57d376f48a9af8b6 (diff)
parent72db395ffadb1d33233fd123c2bf87ba0198c6c1 (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')
-rw-r--r--drivers/mmc/core/core.c6
-rw-r--r--drivers/mmc/core/core.h2
-rw-r--r--drivers/mmc/host/tifm_sd.c4
-rw-r--r--drivers/mmc/host/vub300.c10
4 files changed, 11 insertions, 11 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 */
51int use_spi_crc = 1; 51bool use_spi_crc = 1;
52module_param(use_spi_crc, bool, 0); 52module_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
61int mmc_assume_removable; 61bool mmc_assume_removable;
62#else 62#else
63int mmc_assume_removable = 1; 63bool mmc_assume_removable = 1;
64#endif 64#endif
65EXPORT_SYMBOL(mmc_assume_removable); 65EXPORT_SYMBOL(mmc_assume_removable);
66module_param_named(removable, mmc_assume_removable, bool, 0644); 66module_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);
67int mmc_attach_sdio(struct mmc_host *host); 67int mmc_attach_sdio(struct mmc_host *host);
68 68
69/* Module parameters */ 69/* Module parameters */
70extern int use_spi_crc; 70extern bool use_spi_crc;
71 71
72/* Debugfs information for hosts and cards */ 72/* Debugfs information for hosts and cards */
73void mmc_add_host_debugfs(struct mmc_host *host); 73void mmc_add_host_debugfs(struct mmc_host *host);
diff --git a/drivers/mmc/host/tifm_sd.c b/drivers/mmc/host/tifm_sd.c
index fc00081687b9..43d962829f8e 100644
--- a/drivers/mmc/host/tifm_sd.c
+++ b/drivers/mmc/host/tifm_sd.c
@@ -22,8 +22,8 @@
22#define DRIVER_NAME "tifm_sd" 22#define DRIVER_NAME "tifm_sd"
23#define DRIVER_VERSION "0.8" 23#define DRIVER_VERSION "0.8"
24 24
25static int no_dma = 0; 25static bool no_dma = 0;
26static int fixed_timeout = 0; 26static bool fixed_timeout = 0;
27module_param(no_dma, bool, 0644); 27module_param(no_dma, bool, 0644);
28module_param(fixed_timeout, bool, 0644); 28module_param(fixed_timeout, bool, 0644);
29 29
diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
index 2ec978bc32ba..3135a1a5d75d 100644
--- a/drivers/mmc/host/vub300.c
+++ b/drivers/mmc/host/vub300.c
@@ -223,25 +223,25 @@ enum SD_RESPONSE_TYPE {
223#define FUN(c) (0x000007 & (c->arg>>28)) 223#define FUN(c) (0x000007 & (c->arg>>28))
224#define REG(c) (0x01FFFF & (c->arg>>9)) 224#define REG(c) (0x01FFFF & (c->arg>>9))
225 225
226static int limit_speed_to_24_MHz; 226static bool limit_speed_to_24_MHz;
227module_param(limit_speed_to_24_MHz, bool, 0644); 227module_param(limit_speed_to_24_MHz, bool, 0644);
228MODULE_PARM_DESC(limit_speed_to_24_MHz, "Limit Max SDIO Clock Speed to 24 MHz"); 228MODULE_PARM_DESC(limit_speed_to_24_MHz, "Limit Max SDIO Clock Speed to 24 MHz");
229 229
230static int pad_input_to_usb_pkt; 230static bool pad_input_to_usb_pkt;
231module_param(pad_input_to_usb_pkt, bool, 0644); 231module_param(pad_input_to_usb_pkt, bool, 0644);
232MODULE_PARM_DESC(pad_input_to_usb_pkt, 232MODULE_PARM_DESC(pad_input_to_usb_pkt,
233 "Pad USB data input transfers to whole USB Packet"); 233 "Pad USB data input transfers to whole USB Packet");
234 234
235static int disable_offload_processing; 235static bool disable_offload_processing;
236module_param(disable_offload_processing, bool, 0644); 236module_param(disable_offload_processing, bool, 0644);
237MODULE_PARM_DESC(disable_offload_processing, "Disable Offload Processing"); 237MODULE_PARM_DESC(disable_offload_processing, "Disable Offload Processing");
238 238
239static int force_1_bit_data_xfers; 239static bool force_1_bit_data_xfers;
240module_param(force_1_bit_data_xfers, bool, 0644); 240module_param(force_1_bit_data_xfers, bool, 0644);
241MODULE_PARM_DESC(force_1_bit_data_xfers, 241MODULE_PARM_DESC(force_1_bit_data_xfers,
242 "Force SDIO Data Transfers to 1-bit Mode"); 242 "Force SDIO Data Transfers to 1-bit Mode");
243 243
244static int force_polling_for_irqs; 244static bool force_polling_for_irqs;
245module_param(force_polling_for_irqs, bool, 0644); 245module_param(force_polling_for_irqs, bool, 0644);
246MODULE_PARM_DESC(force_polling_for_irqs, "Force Polling for SDIO interrupts"); 246MODULE_PARM_DESC(force_polling_for_irqs, "Force Polling for SDIO interrupts");
247 247