[PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read & write functions

Dan Carpenter dan.carpenter at oracle.com
Thu Jun 12 07:43:21 UTC 2014


On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote:
> diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c b/drivers/staging/rtl8188eu/core/rtw_io.c
> index a0a31e6..85306bf 100644
> --- a/drivers/staging/rtl8188eu/core/rtw_io.c
> +++ b/drivers/staging/rtl8188eu/core/rtw_io.c
> @@ -57,10 +57,10 @@ u8 _rtw_read8(struct adapter *adapter, u32 addr)
>  	u8 r_val;
>  	struct io_priv *pio_priv = &adapter->iopriv;
>  	struct	intf_hdl *pintfhdl = &(pio_priv->intf);
> -	u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr);
> +	u8 (*_read8)(struct adapter *pintfhdl, u32 addr);
                                     ^^^^^^^^
Could you send a follow on patch to change pintfhdl to adapter in all
the declarations?

regards,
dan carpenter



More information about the devel mailing list