mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mtd: omap2: fix static declaration warning
This patch fixes sparse warning for static declaration of variable "use_dma" drivers/mtd/nand/omap2.c:114:11: warning: symbol 'use_dma' was not declared. Should it be static? Signed-off-by: G, Manjunath Kondaiah <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
This commit is contained in:
parent
65e5a0e18e
commit
733daa52b8
1 changed files with 2 additions and 2 deletions
|
|
@ -111,11 +111,11 @@ static int use_dma = 1;
|
|||
module_param(use_dma, bool, 0);
|
||||
MODULE_PARM_DESC(use_dma, "enable/disable use of DMA");
|
||||
#else
|
||||
const int use_dma;
|
||||
static const int use_dma;
|
||||
#endif
|
||||
#else
|
||||
const int use_prefetch;
|
||||
const int use_dma;
|
||||
static const int use_dma;
|
||||
#endif
|
||||
|
||||
struct omap_nand_info {
|
||||
|
|
|
|||
Loading…
Reference in a new issue