diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-08-27 07:56:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-08-27 14:25:19 +0200 |
commit | f2283c2057b28d81b9060ba3fde68f24f2eb2922 (patch) | |
tree | 0570210526b3610671d9f6061c1829189637a2ab /include/driver.h | |
parent | 95556fc53d7bf609c0993268369f9173235e76c6 (diff) | |
download | barebox-f2283c2057b28d81b9060ba3fde68f24f2eb2922.tar.gz barebox-f2283c2057b28d81b9060ba3fde68f24f2eb2922.tar.xz |
use resource_size_t for device resources
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 5 |
1 files 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 */ |