mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
mtd: rawnand: arasan: Fix a macro parameter
[ Upstream commit 698ddeb89e ]
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:
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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user