diff options
author | Olof Johansson <olof@lixom.net> | 2018-11-17 06:43:27 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-18 10:10:47 +0300 |
commit | 33bf5519ae5dd356b182a94e3622f42860274a38 (patch) | |
tree | 9040a0f3e6624d16a34360e5ce7df418360593a4 /drivers/mtd/spi-nor | |
parent | 5d1e9c2212ea6b4dd735e4fc3dd6279a365d5d10 (diff) | |
download | linux-33bf5519ae5dd356b182a94e3622f42860274a38.tar.xz |
mtd: rawnand: qcom: Namespace prefix some commands
PAGE_READ is used by RISC-V arch code included through mm headers,
and it makes sense to bring in a prefix on these in the driver.
drivers/mtd/nand/raw/qcom_nandc.c:153: warning: "PAGE_READ" redefined
#define PAGE_READ 0x2
In file included from include/linux/memremap.h:7,
from include/linux/mm.h:27,
from include/linux/scatterlist.h:8,
from include/linux/dma-mapping.h:11,
from drivers/mtd/nand/raw/qcom_nandc.c:17:
arch/riscv/include/asm/pgtable.h:48: note: this is the location of the previous definition
Caught by riscv allmodconfig.
Signed-off-by: Olof Johansson <olof@lixom.net>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
0 files changed, 0 insertions, 0 deletions