projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4a339
)
[ARM] mmp: avoid devices.h being included multiple times
author
Eric Miao
<eric.y.miao@gmail.com>
Thu, 15 Jul 2010 14:18:32 +0000
(22:18 +0800)
committer
Eric Miao
<eric.y.miao@gmail.com>
Thu, 5 Aug 2010 06:34:45 +0000
(14:34 +0800)
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-mmp/include/mach/devices.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mmp/include/mach/devices.h
b/arch/arm/mach-mmp/include/mach/devices.h
index 1fa0a492454adc305d70ee89313450b6383cde83..d0ec7dae88e4c06f9050f4bf3b2223121109c8c0 100644
(file)
--- 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 <linux/types.h>
#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 */