Patch from Michael Opdenacker
Hello,
platform_device definitions are no longer needed in include/asm-arm/hardware.h:
- platform_add_device no longer exists anywhere else in the whole kernel
- other definitions should be taken from include/linux/device.h instead
The proposed patch removes these definitions.
Cheers,
Michael.
#include <asm/arch/hardware.h>
-#ifndef __ASSEMBLY__
-
-struct platform_device;
-
-extern int platform_add_devices(struct platform_device **, int);
-extern int platform_add_device(struct platform_device *);
-
-#endif
-
#endif