diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-01-13 02:27:38 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-13 02:27:38 -0500 |
commit | bfe75c7e67e5f32bf446a48e0502d06d25b51752 (patch) | |
tree | 3f4ac110490b334708ba3fbff59770c639bc010c | |
parent | 2485a4b610171f4e1c4ab0d053569747795c1bbe (diff) |
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: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/include/asm/device.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/include/asm/device.h b/arch/sh/include/asm/device.h index a1c9c0daec10..071bcb4d4bfd 100644 --- a/arch/sh/include/asm/device.h +++ b/arch/sh/include/asm/device.h | |||
@@ -3,9 +3,10 @@ | |||
3 | * | 3 | * |
4 | * This file is released under the GPLv2 | 4 | * This file is released under the GPLv2 |
5 | */ | 5 | */ |
6 | #ifndef __ASM_SH_DEVICE_H | ||
7 | #define __ASM_SH_DEVICE_H | ||
6 | 8 | ||
7 | struct dev_archdata { | 9 | #include <asm-generic/device.h> |
8 | }; | ||
9 | 10 | ||
10 | struct platform_device; | 11 | struct platform_device; |
11 | /* allocate contiguous memory chunk and fill in struct resource */ | 12 | /* allocate contiguous memory chunk and fill in struct resource */ |
@@ -14,5 +15,4 @@ int platform_resource_setup_memory(struct platform_device *pdev, | |||
14 | 15 | ||
15 | void plat_early_device_setup(void); | 16 | void plat_early_device_setup(void); |
16 | 17 | ||
17 | struct pdev_archdata { | 18 | #endif /* __ASM_SH_DEVICE_H */ |
18 | }; | ||