aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
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