[PATCH] soundwire: cadence: remove the repeated declaration

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu May 27 14:59:20 CEST 2021



On 5/27/21 6:24 AM, Shaokun Zhang wrote:
> Function 'cdns_reset_page_addr' is declared twice, so remove the
> repeated declaration.

Indeed, it's been that way since 2018. Thanks for noticing this.

Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>

> 
> Cc: Vinod Koul <vkoul at kernel.org>
> Cc: Bard Liao <yung-chuan.liao at linux.intel.com>
> Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> Cc: Sanyog Kale <sanyog.r.kale at intel.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>
> ---
>   drivers/soundwire/cadence_master.h | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/soundwire/cadence_master.h b/drivers/soundwire/cadence_master.h
> index 4d1aab5b5ec2..0e7f8b35bb21 100644
> --- a/drivers/soundwire/cadence_master.h
> +++ b/drivers/soundwire/cadence_master.h
> @@ -180,9 +180,6 @@ enum sdw_command_response
>   cdns_xfer_msg_defer(struct sdw_bus *bus,
>   		    struct sdw_msg *msg, struct sdw_defer *defer);
>   
> -enum sdw_command_response
> -cdns_reset_page_addr(struct sdw_bus *bus, unsigned int dev_num);
> -
>   int cdns_bus_conf(struct sdw_bus *bus, struct sdw_bus_params *params);
>   
>   int cdns_set_sdw_stream(struct snd_soc_dai *dai,
> 


More information about the Alsa-devel mailing list