From 95067e23ac78db76db3afddc92e17b6789012d38 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 30 Jul 2011 13:57:22 +0800 Subject: arm: introduce arm_add_mem_device to register dram device this will automaticaly register the device to armlinux_add_dram Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/include/asm/armlinux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/include') diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h index 3cab209d60..f76cca875f 100644 --- a/arch/arm/include/asm/armlinux.h +++ b/arch/arm/include/asm/armlinux.h @@ -34,4 +34,7 @@ struct image_data; void start_linux(void *adr, int swap, struct image_data *data); +struct device_d *arm_add_mem_device(const char* name, resource_size_t start, + resource_size_t size); + #endif /* __ARCH_ARMLINUX_H */ -- cgit v1.2.3