Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: 88pm800: fix warning same module names

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 that the file is named 88pm800-regulator.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Anders Roxell and committed by
Mark Brown
6f104191 9a5ed0ba

+1 -1
drivers/regulator/88pm800.c drivers/regulator/88pm800-regulator.c
+1 -1
drivers/regulator/Makefile
··· 11 11 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o 12 12 13 13 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o 14 - obj-$(CONFIG_REGULATOR_88PM800) += 88pm800.o 14 + obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o 15 15 obj-$(CONFIG_REGULATOR_88PM8607) += 88pm8607.o 16 16 obj-$(CONFIG_REGULATOR_CPCAP) += cpcap-regulator.o 17 17 obj-$(CONFIG_REGULATOR_AAT2870) += aat2870-regulator.o