aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-07-16 06:02:54 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 05:10:35 -0400
commit1eca5c92729a83f64826d15a9ecb1652dda54bcb (patch)
tree95753726159c945deccef68d4b54de9f4d5ec756 /include/asm-sh
parent714750dd5c6aef8e204d35ba28c1be9641418671 (diff)
sh: Add memory chunks to SH-Mobile UIO devices
This patch adds physically contiguous memory chunks to the UIO devices. The same strategy can be used in the future for the CEU as well. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-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 @@
5 */ 5 */
6#include <asm-generic/device.h> 6#include <asm-generic/device.h>
7 7
8struct platform_device;
9/* allocate contiguous memory chunk and fill in struct resource */
10int platform_resource_setup_memory(struct platform_device *pdev,
11 char *name, unsigned long memsize);
12