]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: omap_elm: Fix elm_init definition
authorRoger Quadros <rogerq@kernel.org>
Mon, 11 Dec 2023 11:46:00 +0000 (13:46 +0200)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Mon, 15 Jan 2024 07:58:24 +0000 (08:58 +0100)
commitf6e7d8d2f3eb9492e79bfd2a26c59fcb240f59c4
treed8487eefee31c943247ac697d37aff28f1f90ffb
parent84e6fe3c04de365dca0f9de914d5f6f058337f00
mtd: rawnand: omap_elm: Fix elm_init definition

The macro ELM_BASE is defined in mach/hardware.h and is
not visible at the omap_elm.h header file. Avoid using it
in omap_elm.h.

Reported-by: Hong Guan <hguan@ti.com>
Fixes: 7363cf0581a3 ("mtd: rawnand: omap_elm: u-boot driver model support")
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/all/20231211114600.4414-3-rogerq@kernel.org
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/omap_elm.c
drivers/mtd/nand/raw/omap_elm.h