OSDN Git Service

soc: imx: gpcv2: include linux/sizes.h
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 20 Jan 2020 12:51:28 +0000 (14:51 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 14 Feb 2020 02:03:09 +0000 (10:03 +0800)
This header is included indirectly on arm/arm64 but not on x86 so
CONFIG_COMPILE_TEST breaks. Fix by including <linux/sizes.h> directly.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpcv2.c

index b0dffb0..6cf8a7a 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/pm_domain.h>
 #include <linux/regmap.h>
 #include <linux/regulator/consumer.h>
+#include <linux/sizes.h>
 #include <dt-bindings/power/imx7-power.h>
 #include <dt-bindings/power/imx8mq-power.h>