ARM: imx: fix missing includes
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 17:23:40 +0000 (18:23 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 12 Jun 2016 11:48:09 +0000 (19:48 +0800)
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?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/devices/devices.c

index 8eab5440da2869455bffbabdac17600dee397c7f..300451727362053c88b9bf851546be6b01df602d 100644 (file)
@@ -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",
 };