ARM: imx: fix missing includes
Subsystems (3)
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
@@ -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
Shawn Guo
AppliedPATCH 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?Signed-off-by Ben Dooks <[email protected]>
Applied, thanks.