From f7426f53d22ff97d664167799be3f5f39c22dfdf Mon Sep 17 00:00:00 2001 From: Eric Miao Date: Thu, 15 Jul 2010 22:18:32 +0800 Subject: [ARM] mmp: avoid devices.h being included multiple times Signed-off-by: Eric Miao --- arch/arm/mach-mmp/include/mach/devices.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-mmp/include/mach') diff --git a/arch/arm/mach-mmp/include/mach/devices.h b/arch/arm/mach-mmp/include/mach/devices.h index 1fa0a492454a..d0ec7dae88e4 100644 --- a/arch/arm/mach-mmp/include/mach/devices.h +++ b/arch/arm/mach-mmp/include/mach/devices.h @@ -1,3 +1,6 @@ +#ifndef __MACH_DEVICE_H +#define __MACH_DEVICE_H + #include #define MAX_RESOURCE_DMA 2 @@ -47,3 +50,4 @@ struct pxa_device_desc mmp2_device_##_name __initdata = { \ } extern int pxa_register_device(struct pxa_device_desc *, void *, size_t); +#endif /* __MACH_DEVICE_H */ -- cgit v1.2.3