Explorar o código

asoc: swr: Add config flag for New soundiwre driver compilation

Add new kconfig to control compilation of new soundwire driver

Change-Id: I6eb8b30de9f6dc2ffa152b6dfffbc2b02d0a990c
Signed-off-by: Ramprasad Katkam <[email protected]>
Ramprasad Katkam %!s(int64=6) %!d(string=hai) anos
pai
achega
e80ab29892
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      soc/Kbuild

+ 5 - 0
soc/Kbuild

@@ -92,6 +92,11 @@ ifdef CONFIG_SOUNDWIRE_WCD_CTRL
 	SWR_CTRL_OBJS += swr-wcd-ctrl.o
 endif
 
+# for new soundwire driver
+ifdef CONFIG_SOUNDWIRE_MSTR_CTRL
+	SWR_CTRL_OBJS += swr-mstr-ctrl.o
+endif
+
 ifdef CONFIG_SOUNDWIRE
 	SWR_OBJS += regmap-swr.o
 	SWR_OBJS += soundwire.o