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

From: Greg KH
Date: Sun Aug 10 2014 - 08:11:54 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/