linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: imx: gpcv2: include linux/sizes.h
@ 2020-01-20 12:51 Leonard Crestez
  2020-02-14  2:03 ` Shawn Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Leonard Crestez @ 2020-01-20 12:51 UTC (permalink / raw)
  To: Peng Fan, Shawn Guo
  Cc: Dong Aisheng, Anson Huang, linux-imx, kernel, Fabio Estevam,
	linux-arm-kernel

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>

---
Support for COMPILE_TEST inside drivers/soc/imx is enabled by this
series:

https://patchwork.kernel.org/cover/11335989/

 drivers/soc/imx/gpcv2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c
index b0dffb06c05d..6cf8a7a412bd 100644
--- a/drivers/soc/imx/gpcv2.c
+++ b/drivers/soc/imx/gpcv2.c
@@ -12,10 +12,11 @@
 #include <linux/of_device.h>
 #include <linux/platform_device.h>
 #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>
 
 #define GPC_LPCR_A_CORE_BSC			0x000
 
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-14  2:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-20 12:51 [PATCH] soc: imx: gpcv2: include linux/sizes.h Leonard Crestez
2020-02-14  2:03 ` Shawn Guo
2020-02-14  2:07   ` Peng Fan
2020-02-14  2:22     ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).