Re: [PATCH 4/4] use resource_size_t for device ressoruces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux