diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-07-15 10:18:32 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-08-05 02:34:45 -0400 |
commit | f7426f53d22ff97d664167799be3f5f39c22dfdf (patch) | |
tree | 61e8ad98a6245dff6801bb23912f3925f06eaf67 /arch/arm/mach-mmp/include/mach/devices.h | |
parent | 4d4a339dd51390066d09701876a499996f1a5fdc (diff) |
[ARM] mmp: avoid devices.h being included multiple times
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/devices.h')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/devices.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
1 | #ifndef __MACH_DEVICE_H | ||
2 | #define __MACH_DEVICE_H | ||
3 | |||
1 | #include <linux/types.h> | 4 | #include <linux/types.h> |
2 | 5 | ||
3 | #define MAX_RESOURCE_DMA 2 | 6 | #define MAX_RESOURCE_DMA 2 |
@@ -47,3 +50,4 @@ struct pxa_device_desc mmp2_device_##_name __initdata = { \ | |||
47 | } | 50 | } |
48 | 51 | ||
49 | extern int pxa_register_device(struct pxa_device_desc *, void *, size_t); | 52 | extern int pxa_register_device(struct pxa_device_desc *, void *, size_t); |
53 | #endif /* __MACH_DEVICE_H */ | ||