summaryrefslogtreecommitdiff
path: root/include/asm-sh/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/device.h')
-rw-r--r--include/asm-sh/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sh/device.h b/include/asm-sh/device.h
index d8f9872b0e2d..efd511d0803a 100644
--- a/include/asm-sh/device.h
+++ b/include/asm-sh/device.h
@@ -5,3 +5,8 @@
*/
#include <asm-generic/device.h>
+struct platform_device;
+/* allocate contiguous memory chunk and fill in struct resource */
+int platform_resource_setup_memory(struct platform_device *pdev,
+ char *name, unsigned long memsize);
+