[PATCH] mtd: map: add back asm/barrier.h inclusion
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Tue Aug 5 14:59:02 PDT 2025
On Wed, Jul 30, 2025 at 03:59:24PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> 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]
Oops, thanks!
Acked-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
--
With Best Regards,
Andy Shevchenko
More information about the linux-mtd
mailing list