]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: map: add back asm/barrier.h inclusion
authorArnd Bergmann <arnd@arndb.de>
Wed, 30 Jul 2025 13:59:24 +0000 (15:59 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Sep 2025 15:34:15 +0000 (17:34 +0200)
commit948cb194bcb4c01fb4cd029936f0c02b10780394
tree29fa9c2b48aa8cdbae7d37f3d30e8737edbe7c55
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
mtd: map: add back asm/barrier.h inclusion

The mb() macro is used in this header:

In file included from include/linux/mtd/qinfo.h:5,
                 from include/linux/mtd/pfow.h:8,
                 from drivers/mtd/lpddr/lpddr_cmds.c:14:
include/linux/mtd/map.h: In function 'inline_map_write':
include/linux/mtd/map.h:428:9: error: implicit declaration of function 'mb' [-Wimplicit-function-declaration]

Fixes: 56eb7c13b97c ("mtd: map: Don't use "proxy" headers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/map.h