Content-Type: multipart/mixed; boundary="===============8021731149906418230==" MIME-Version: 1.0 From: Vinod Koul To: kbuild-all@lists.01.org Subject: Re: drivers/soundwire/qcom.c:767: undefined reference to `slimbus_bus' Date: Thu, 26 Nov 2020 09:56:46 +0530 Message-ID: <20201126042646.GH8403@vkoul-mobl> In-Reply-To: <6e298ed8-dc23-7a1f-1bb1-44ba2f43ee07@infradead.org> List-Id: --===============8021731149906418230== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 25-11-20, 09:31, Randy Dunlap wrote: > On 11/24/20 9:51 PM, Vinod Koul wrote: > > From: Vinod Koul > > Date: Wed, 25 Nov 2020 11:15:22 +0530 > > Subject: [PATCH] soundwire: qcom: Fix build failure when slimbus is mod= ule > > = > > Commit 5bd773242f75 ("soundwire: qcom: avoid dependency on > > CONFIG_SLIMBUS") removed hard dependency on Slimbus for qcom driver but > > it results in build failure when: > > CONFIG_SOUNDWIRE_QCOM=3Dy > > CONFIG_SLIMBUS=3Dm > > = > > drivers/soundwire/qcom.o: In function `qcom_swrm_probe': > > qcom.c:(.text+0xf44): undefined reference to `slimbus_bus' > > = > > Fix this by using IS_REACHABLE() in driver which is recommended to be > > sued with imply. > = > used right > = > > = > > Fixes: 5bd773242f75 ("soundwire: qcom: avoid dependency on CONFIG_SLIMB= US") > > Reported-by: kernel test robot > > Signed-off-by: Vinod Koul > = > Acked-by: Randy Dunlap # build-tested Thanks I have added this and Srini's and pushed out now. -- = ~Vinod --===============8021731149906418230==--