Commit f7426f53 authored by Eric Miao's avatar Eric Miao

[ARM] mmp: avoid devices.h being included multiple times

Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 4d4a339d
#ifndef __MACH_DEVICE_H
#define __MACH_DEVICE_H
#include <linux/types.h> #include <linux/types.h>
#define MAX_RESOURCE_DMA 2 #define MAX_RESOURCE_DMA 2
...@@ -47,3 +50,4 @@ struct pxa_device_desc mmp2_device_##_name __initdata = { \ ...@@ -47,3 +50,4 @@ struct pxa_device_desc mmp2_device_##_name __initdata = { \
} }
extern int pxa_register_device(struct pxa_device_desc *, void *, size_t); extern int pxa_register_device(struct pxa_device_desc *, void *, size_t);
#endif /* __MACH_DEVICE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment