On Thu, Jun 06, 2019 at 11:47:36AM +0200, Anders Roxell wrote: > obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o > -obj-$(CONFIG_REGULATOR_88PM800) += 88pm800.o > +obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o > +88pm800-regulator-objs := 88pm800.o Don't do this, no need for this driver to look different to all the others in the Makefile - just rename the whole file.