Commit bfe75c7e authored by Paul Mundt's avatar Paul Mundt

sh: Defer to asm-generic/device.h.

Now that the hwblk use cases have been ripped out, we can revert to
asm-generic/device.h for the device/platform device arch data structures.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 2485a4b6
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
* *
* This file is released under the GPLv2 * This file is released under the GPLv2
*/ */
#ifndef __ASM_SH_DEVICE_H
#define __ASM_SH_DEVICE_H
struct dev_archdata { #include <asm-generic/device.h>
};
struct platform_device; struct platform_device;
/* allocate contiguous memory chunk and fill in struct resource */ /* allocate contiguous memory chunk and fill in struct resource */
...@@ -14,5 +15,4 @@ int platform_resource_setup_memory(struct platform_device *pdev, ...@@ -14,5 +15,4 @@ int platform_resource_setup_memory(struct platform_device *pdev,
void plat_early_device_setup(void); void plat_early_device_setup(void);
struct pdev_archdata { #endif /* __ASM_SH_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