diff mbox series

[03/23] memory: omap-gpmc: Include <linux/sizes.h> for SZ_16M

Message ID 20200723073744.13400-4-krzk@kernel.org (mailing list archive)
State Changes Requested
Headers show
Series memory: Cleanup, improve and compile test memory drivers | expand

Commit Message

Krzysztof Kozlowski July 23, 2020, 7:37 a.m. UTC
The driver uses SZ_16M which is defined in include/linux/sizes.h.  On
ARM it was pulled by other headers but its inclusion is necessary for
compile testing on other architectures.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
 drivers/memory/omap-gpmc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index 8ec2ef2aebdd..c158b6cae9a9 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -29,6 +29,7 @@ 
 #include <linux/of_platform.h>
 #include <linux/omap-gpmc.h>
 #include <linux/pm_runtime.h>
+#include <linux/sizes.h>
 #include <linux/platform_data/mtd-nand-omap2.h>