]> git.baikalelectronics.ru Git - kernel.git/commitdiff
soundwire: intel: use a single module
authorRander Wang <rander.wang@intel.com>
Tue, 19 May 2020 19:19:02 +0000 (03:19 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 20 May 2020 13:54:55 +0000 (19:24 +0530)
It's not clear why we have two modules for the Intel controller/master
support when there is a single Kconfig. This adds complexity for no
good reason, the two parts need to work together anyways.

Signed-off-by: Rander Wang <rander.wang@intel.com>
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/20200519191903.6557-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/Makefile

index 9b0aeee94876666a95f6facd916caf4729999743..b5871612613b7db456081fa3ab7eb0028bad4c11 100644 (file)
@@ -17,12 +17,9 @@ soundwire-cadence-objs := cadence_master.o
 obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
 
 #Intel driver
-soundwire-intel-objs :=        intel.o
+soundwire-intel-objs :=        intel.o intel_init.o
 obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
 
-soundwire-intel-init-objs := intel_init.o
-obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel-init.o
-
 #Qualcomm driver
 soundwire-qcom-objs := qcom.o
 obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o