From: Arnd Bergmann Date: Wed, 30 Jul 2025 13:59:24 +0000 (+0200) Subject: mtd: map: add back asm/barrier.h inclusion X-Git-Tag: v6.18-rc1~78^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=948cb194bcb4c01fb4cd029936f0c02b10780394;p=thirdparty%2Fkernel%2Fstable.git 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 Acked-by: Andy Shevchenko Signed-off-by: Miquel Raynal --- diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h index 288ef765a44e7..75b0b2abc8806 100644 --- a/include/linux/mtd/map.h +++ b/include/linux/mtd/map.h @@ -14,6 +14,7 @@ #include #include #include +#include struct device_node; struct module;