All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drivers: mfd: 88pm800: fix warning same module names
@ 2019-06-12  8:12 Anders Roxell
  2019-06-12 10:21 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Anders Roxell @ 2019-06-12  8:12 UTC (permalink / raw)
  To: lee.jones; +Cc: linux-kernel, Anders Roxell

When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800
enabled as loadable modules, we see the following warning:

warning: same module names found:
  drivers/regulator/88pm800.ko
  drivers/mfd/88pm800.ko

Rework so the names matches the config fragment.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 drivers/mfd/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 52b1a90ff515..5e870eef6a20 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -5,8 +5,11 @@
 
 88pm860x-objs			:= 88pm860x-core.o 88pm860x-i2c.o
 obj-$(CONFIG_MFD_88PM860X)	+= 88pm860x.o
-obj-$(CONFIG_MFD_88PM800)	+= 88pm800.o 88pm80x.o
-obj-$(CONFIG_MFD_88PM805)	+= 88pm805.o 88pm80x.o
+obj-$(CONFIG_MFD_88PM800)	+= mfd-88pm800.o mfd-88pm80x.o
+mfd-88pm800-objs		:= 88pm800.o
+obj-$(CONFIG_MFD_88PM805)	+= mfd-88pm805.o mfd-88pm80x.o
+mfd-88pm805-objs		:= 88pm805.o
+mfd-88pm80x-objs		:= 88pm80x.o
 obj-$(CONFIG_MFD_ACT8945A)	+= act8945a.o
 obj-$(CONFIG_MFD_SM501)		+= sm501.o
 obj-$(CONFIG_MFD_ASIC3)		+= asic3.o tmio_core.o
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] drivers: mfd: 88pm800: fix warning same module names
  2019-06-12  8:12 [PATCH v2] drivers: mfd: 88pm800: fix warning same module names Anders Roxell
@ 2019-06-12 10:21 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2019-06-12 10:21 UTC (permalink / raw)
  To: Anders Roxell; +Cc: linux-kernel

On Wed, 12 Jun 2019, Anders Roxell wrote:

> When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800
> enabled as loadable modules, we see the following warning:
> 
> warning: same module names found:
>   drivers/regulator/88pm800.ko
>   drivers/mfd/88pm800.ko
> 
> Rework so the names matches the config fragment.

Please detail what this actually changes.

I.e. what the new modules names will be.

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>  drivers/mfd/Makefile | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
> index 52b1a90ff515..5e870eef6a20 100644
> --- a/drivers/mfd/Makefile
> +++ b/drivers/mfd/Makefile
> @@ -5,8 +5,11 @@
>  
>  88pm860x-objs			:= 88pm860x-core.o 88pm860x-i2c.o
>  obj-$(CONFIG_MFD_88PM860X)	+= 88pm860x.o
> -obj-$(CONFIG_MFD_88PM800)	+= 88pm800.o 88pm80x.o
> -obj-$(CONFIG_MFD_88PM805)	+= 88pm805.o 88pm80x.o
> +obj-$(CONFIG_MFD_88PM800)	+= mfd-88pm800.o mfd-88pm80x.o
> +mfd-88pm800-objs		:= 88pm800.o
> +obj-$(CONFIG_MFD_88PM805)	+= mfd-88pm805.o mfd-88pm80x.o
> +mfd-88pm805-objs		:= 88pm805.o
> +mfd-88pm80x-objs		:= 88pm80x.o
>  obj-$(CONFIG_MFD_ACT8945A)	+= act8945a.o
>  obj-$(CONFIG_MFD_SM501)		+= sm501.o
>  obj-$(CONFIG_MFD_ASIC3)		+= asic3.o tmio_core.o

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-12 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12  8:12 [PATCH v2] drivers: mfd: 88pm800: fix warning same module names Anders Roxell
2019-06-12 10:21 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.