Commit 352f0b55 authored by Michael Opdenacker's avatar Michael Opdenacker Committed by Russell King

[ARM PATCH] 2023/1: platform_device definitions no longer needed in include/asm-arm/hardware.h

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.
parent 842f2d59
...@@ -15,13 +15,4 @@ ...@@ -15,13 +15,4 @@
#include <asm/arch/hardware.h> #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 #endif
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