summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/device.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-01-13 08:27:38 +0100
committerPaul Mundt <lethal@linux-sh.org>2012-01-13 08:27:38 +0100
commitbfe75c7e67e5f32bf446a48e0502d06d25b51752 (patch)
tree3f4ac110490b334708ba3fbff59770c639bc010c /arch/sh/include/asm/device.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto... (diff)
downloadlinux-bfe75c7e67e5f32bf446a48e0502d06d25b51752.tar.xz
linux-bfe75c7e67e5f32bf446a48e0502d06d25b51752.zip
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>
Diffstat (limited to 'arch/sh/include/asm/device.h')
-rw-r--r--arch/sh/include/asm/device.h8
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 @@
*
* 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;
/* allocate contiguous memory chunk and fill in struct resource */
@@ -14,5 +15,4 @@ int platform_resource_setup_memory(struct platform_device *pdev,
void plat_early_device_setup(void);
-struct pdev_archdata {
-};
+#endif /* __ASM_SH_DEVICE_H */