summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorShaokun Zhang <zhangshaokun@hisilicon.com>2021-05-27 19:24:58 +0800
committerVinod Koul <vkoul@kernel.org>2021-05-31 15:33:57 +0530
commit1ec9d2e7936c677a177916dab4b2bf26afbe2bed (patch)
treeaa881e59ee0296d8f9508578b7978a67f9df418f /drivers/soundwire
parent037219925e7a802c1d038af18cec3d0a8c88a368 (diff)
downloadlinux-stable-1ec9d2e7936c677a177916dab4b2bf26afbe2bed.tar.gz
linux-stable-1ec9d2e7936c677a177916dab4b2bf26afbe2bed.tar.bz2
linux-stable-1ec9d2e7936c677a177916dab4b2bf26afbe2bed.zip
soundwire: cadence: remove the repeated declaration
Function 'cdns_reset_page_addr' is declared twice, so remove the repeated declaration. Cc: Vinod Koul <vkoul@kernel.org> Cc: Bard Liao <yung-chuan.liao@linux.intel.com> Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Cc: Sanyog Kale <sanyog.r.kale@intel.com> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/1622114698-7943-1-git-send-email-zhangshaokun@hisilicon.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r--drivers/soundwire/cadence_master.h3
1 files changed, 0 insertions, 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,