[PATCH 4/4] use resource_size_t for device ressoruces
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Fri Aug 27 01:41:23 EDT 2010
Hello Jean-Christophe,
$SUBJECT ~= s/ressoruces/resources/
On Fri, Aug 27, 2010 at 07:15:18AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> include/driver.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/driver.h b/include/driver.h
> index ae3e777..eddbbf3 100644
> --- a/include/driver.h
> +++ b/include/driver.h
> @@ -70,11 +70,11 @@ struct device_d {
> int id;
>
> /*! FIXME */
What is this fixme about? Can it be removed?
> - 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 */
>
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the barebox
mailing list