diff mbox series

bus: mhi: core: Fix the building of MHI module

Message ID 20200921160815.28071-2-manivannan.sadhasivam@linaro.org (mailing list archive)
State Accepted
Commit 5fc4997fd9d065c98fb312ef56ffadffccc6d61d
Headers show
Series bus: mhi: core: Fix the building of MHI module | expand

Commit Message

Manivannan Sadhasivam Sept. 21, 2020, 4:07 p.m. UTC
The Kbuild rule to build MHI should use the append operator. This fixes
the below warning reported by Kbuild test bot.

WARNING: modpost: missing MODULE_LICENSE() in
drivers/bus/mhi/core/main.o
WARNING: modpost: missing MODULE_LICENSE() in drivers/bus/mhi/core/pm.o
WARNING: modpost: missing MODULE_LICENSE() in
drivers/bus/mhi/core/boot.o

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 drivers/bus/mhi/core/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Manivannan Sadhasivam Sept. 21, 2020, 4:13 p.m. UTC | #1
On Mon, Sep 21, 2020 at 09:37:57PM +0530, Manivannan Sadhasivam wrote:
> The Kbuild rule to build MHI should use the append operator. This fixes
> the below warning reported by Kbuild test bot.
> 
> WARNING: modpost: missing MODULE_LICENSE() in
> drivers/bus/mhi/core/main.o
> WARNING: modpost: missing MODULE_LICENSE() in drivers/bus/mhi/core/pm.o
> WARNING: modpost: missing MODULE_LICENSE() in
> drivers/bus/mhi/core/boot.o
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Oops! This one sneaked in. Please ignore this patch as it is already included
in the series.

Thanks,
Mani

> ---
>  drivers/bus/mhi/core/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/bus/mhi/core/Makefile b/drivers/bus/mhi/core/Makefile
> index 12c57ab3724c..c3feb4130aa3 100644
> --- a/drivers/bus/mhi/core/Makefile
> +++ b/drivers/bus/mhi/core/Makefile
> @@ -1,4 +1,4 @@
> -obj-$(CONFIG_MHI_BUS) := mhi.o
> +obj-$(CONFIG_MHI_BUS) += mhi.o
>  
>  mhi-y := init.o main.o pm.o boot.o
>  mhi-$(CONFIG_MHI_BUS_DEBUG) += debugfs.o
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/drivers/bus/mhi/core/Makefile b/drivers/bus/mhi/core/Makefile
index 12c57ab3724c..c3feb4130aa3 100644
--- a/drivers/bus/mhi/core/Makefile
+++ b/drivers/bus/mhi/core/Makefile
@@ -1,4 +1,4 @@ 
-obj-$(CONFIG_MHI_BUS) := mhi.o
+obj-$(CONFIG_MHI_BUS) += mhi.o
 
 mhi-y := init.o main.o pm.o boot.o
 mhi-$(CONFIG_MHI_BUS_DEBUG) += debugfs.o