summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/intel_init.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-05-31 20:20:57 +0200
committerVinod Koul <vkoul@kernel.org>2020-06-22 13:51:36 +0200
commitb6109dd6dc9fbc5dfae1106972d728eba0afd098 (patch)
tree96efbab2a717152713b389ee84a1596b1e65d81c /drivers/soundwire/intel_init.c
parentsoundwire: bus: clock_stop: don't deal with UNATTACHED Slave devices (diff)
downloadlinux-b6109dd6dc9fbc5dfae1106972d728eba0afd098.tar.xz
linux-b6109dd6dc9fbc5dfae1106972d728eba0afd098.zip
soundwire: intel: cleanups for indirections/logs
The code can be simplified a bit to have a more consistent use of 'dev' and 'bus', as well as move definitions around. This will help make the major changes in follow-up patches easier to review. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20200531182102.27840-2-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel_init.c')
-rw-r--r--drivers/soundwire/intel_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soundwire/intel_init.c b/drivers/soundwire/intel_init.c
index d5d42795a48f..188a1fa17e27 100644
--- a/drivers/soundwire/intel_init.c
+++ b/drivers/soundwire/intel_init.c
@@ -13,6 +13,7 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/soundwire/sdw_intel.h>
+#include "cadence_master.h"
#include "intel.h"
#define SDW_LINK_TYPE 4 /* from Intel ACPI documentation */