diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/r852.c | 2 |
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 | ||
188 | static int use_dma = 1; | 188 | static bool use_dma = 1; |
189 | module_param(use_dma, bool, 0444); | 189 | module_param(use_dma, bool, 0444); |
190 | MODULE_PARM_DESC(use_dma, "enable DMA for data transferring to/from NAND HW"); | 190 | MODULE_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 | ||
25 | static int r852_enable_dma = 1; | 25 | static bool r852_enable_dma = 1; |
26 | module_param(r852_enable_dma, bool, S_IRUGO); | 26 | module_param(r852_enable_dma, bool, S_IRUGO); |
27 | MODULE_PARM_DESC(r852_enable_dma, "Enable usage of the DMA (default)"); | 27 | MODULE_PARM_DESC(r852_enable_dma, "Enable usage of the DMA (default)"); |
28 | 28 | ||