Skip to contentSkip to conversation

ARM: imx: fix missing includes

PATCH New Ben Dooks 2 participants 2 messages Jun 8, 2016 – Jun 11, 2016

Subsystems (3)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 ARM: imx: fix missing includes

Fix the following warnings by adding the include files that define them:

arch/arm/mach-imx/devices/devices.c:25:15: warning: symbol 'mxc_aips_bus' was not declared. Should it be static? arch/arm/mach-imx/devices/devices.c:29:15: warning: symbol 'mxc_ahb_bus' was not declared. Should it be static? arch/arm/mach-imx/devices/devices.c:33:12: warning: symbol 'mxc_device_init' was not declared. Should it be static?

---
Cc: Shawn Guo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org

---
 arch/arm/mach-imx/devices/devices.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-imx/devices/devices.c +3 -0
index 8eab544..3004517 100644
@@ -22,6 +22,9 @@
 #include <linux/err.h>
 #include <linux/platform_device.h>
 
+#include "../common.h"
+#include "devices-common.h"
+
 struct device mxc_aips_bus = {
 	.init_name	= "mxc_aips",
 };
Signature · 1 line
2.8.1
Applied
#1 lore raw

PATCH 1/1 ARM: imx: fix missing includes

Quoted 8 lines · Ben Dooks

Fix the following warnings by adding the include files that define them:

arch/arm/mach-imx/devices/devices.c:25:15: warning: symbol 'mxc_aips_bus' was not declared. Should it be static? arch/arm/mach-imx/devices/devices.c:29:15: warning: symbol 'mxc_ahb_bus' was not declared. Should it be static? arch/arm/mach-imx/devices/devices.c:33:12: warning: symbol 'mxc_device_init' was not declared. Should it be static?

Applied, thanks.