]> git.neil.brown.name Git - history.git/commitdiff
[ARM PATCH] 2023/1: platform_device definitions no longer needed in include/asm-arm...
authorMichael Opdenacker <michael@com.rmk.(none)>
Tue, 17 Aug 2004 13:21:53 +0000 (14:21 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 17 Aug 2004 13:21:53 +0000 (14:21 +0100)
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-arm/hardware.h

index 283dde118b20db7ab4e07cc93f2d54f9c65f18dd..1fd1a5b6504ba961468825435fb64a129b84c1d8 100644 (file)
 
 #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