Re: [PATCH 02/10] staging: ozwpan: Fix typo in typedef

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

 



On Mon, Aug 04, 2014 at 02:54:48PM +0200, Christoph Jaeger wrote:
> Signed-off-by: Christoph Jaeger <email@xxxxxxxxxxxxxxxxxxxx>
> ---
>  drivers/staging/ozwpan/ozproto.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h
> index cb38e02..378b737 100644
> --- a/drivers/staging/ozwpan/ozproto.h
> +++ b/drivers/staging/ozwpan/ozproto.h
> @@ -34,7 +34,7 @@ typedef void (*oz_app_term_fn_t)(void);
>  typedef int (*oz_app_start_fn_t)(struct oz_pd *pd, int resume);
>  typedef void (*oz_app_stop_fn_t)(struct oz_pd *pd, int pause);
>  typedef void (*oz_app_rx_fn_t)(struct oz_pd *pd, struct oz_elt *elt);
> -typedef int (*oz_app_hearbeat_fn_t)(struct oz_pd *pd);
> +typedef int (*oz_app_heartbeat_fn_t)(struct oz_pd *pd);
>  typedef void (*oz_app_farewell_fn_t)(struct oz_pd *pd, u8 ep_num,
>  			u8 *data, u8 len);
>  
> @@ -44,7 +44,7 @@ struct oz_app_if {
>  	oz_app_start_fn_t	start;
>  	oz_app_stop_fn_t	stop;
>  	oz_app_rx_fn_t		rx;
> -	oz_app_hearbeat_fn_t	heartbeat;
> +	oz_app_heartbeat_fn_t	heartbeat;
>  	oz_app_farewell_fn_t	farewell;
>  	int			app_id;
>  };

As these typedefs are only used in this one structure, there's no real
need for them, you can remove them in a later patch if you want.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux