9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2010-08-27 07:56:02 +02:00 committed by Sascha Hauer
parent 95556fc53d
commit f2283c2057
1 changed files with 2 additions and 3 deletions

View File

@ -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 */