aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/pxa3xx_nand.c2
-rw-r--r--drivers/mtd/nand/r852.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index 8544d6bf50a0..5c3d719c37e6 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -185,7 +185,7 @@ struct pxa3xx_nand_info {
185 uint32_t ndcb2; 185 uint32_t ndcb2;
186}; 186};
187 187
188static int use_dma = 1; 188static bool use_dma = 1;
189module_param(use_dma, bool, 0444); 189module_param(use_dma, bool, 0444);
190MODULE_PARM_DESC(use_dma, "enable DMA for data transferring to/from NAND HW"); 190MODULE_PARM_DESC(use_dma, "enable DMA for data transferring to/from NAND HW");
191 191
diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c
index f20f393bfda6..769a4e096b3c 100644
--- a/drivers/mtd/nand/r852.c
+++ b/drivers/mtd/nand/r852.c
@@ -22,7 +22,7 @@
22#include "r852.h" 22#include "r852.h"
23 23
24 24
25static int r852_enable_dma = 1; 25static bool r852_enable_dma = 1;
26module_param(r852_enable_dma, bool, S_IRUGO); 26module_param(r852_enable_dma, bool, S_IRUGO);
27MODULE_PARM_DESC(r852_enable_dma, "Enable usage of the DMA (default)"); 27MODULE_PARM_DESC(r852_enable_dma, "Enable usage of the DMA (default)");
28 28