From f2283c2057b28d81b9060ba3fde68f24f2eb2922 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 27 Aug 2010 07:56:02 +0200 Subject: use resource_size_t for device resources Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- include/driver.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/driver.h b/include/driver.h index ae3e7774b1..ee0749d48b 100644 --- a/include/driver.h +++ b/include/driver.h @@ -69,12 +69,11 @@ struct device_d { * something like eth0 or nor0. */ int id; - /*! FIXME */ - unsigned long size; + resource_size_t size; /*! For devices which are directly mapped into memory, i.e. NOR * Flash or SDRAM. */ - unsigned long map_base; + resource_size_t map_base; void *platform_data; /*! board specific information about this device */ -- cgit v1.2.3