mtd: rawnand: arasan: Fix a macro parameter
[ Upstream commit 698ddeb89e01840dec05ffdb538468782e641a56 ] This macro is not yet being used so the compilers never complained about it. Fix the macro before using it. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210505213750.257417-21-miquel.raynal@bootlin.com Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
d4f7bcce90
commit
87d1266b4c
@@ -91,7 +91,7 @@
|
|||||||
|
|
||||||
#define DATA_INTERFACE_REG 0x6C
|
#define DATA_INTERFACE_REG 0x6C
|
||||||
#define DIFACE_SDR_MODE(x) FIELD_PREP(GENMASK(2, 0), (x))
|
#define DIFACE_SDR_MODE(x) FIELD_PREP(GENMASK(2, 0), (x))
|
||||||
#define DIFACE_DDR_MODE(x) FIELD_PREP(GENMASK(5, 3), (X))
|
#define DIFACE_DDR_MODE(x) FIELD_PREP(GENMASK(5, 3), (x))
|
||||||
#define DIFACE_SDR 0
|
#define DIFACE_SDR 0
|
||||||
#define DIFACE_NVDDR BIT(9)
|
#define DIFACE_NVDDR BIT(9)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user