summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2023-09-07 17:12:37 +0100
committerThierry Reding <thierry.reding@gmail.com>2023-10-13 10:07:17 +0200
commit721ee188488381f0c2d4e04fbc2200963fda23b7 (patch)
tree08a42e5e25e56bb0df128fcf84808ac13f49a216 /drivers/pwm/Makefile
parent6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20 (diff)
downloadlinux-stable-721ee188488381f0c2d4e04fbc2200963fda23b7.tar.gz
linux-stable-721ee188488381f0c2d4e04fbc2200963fda23b7.tar.bz2
linux-stable-721ee188488381f0c2d4e04fbc2200963fda23b7.zip
pwm: dwc: split pci out of core driver
Moving towards adding non-pci support for the driver, move the pci parts out of the core into their own module. This is partly due to the module_driver() code only being allowed once in a module and also to avoid a number of #ifdef if we build a single file in a system without pci support. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230907161242.67190-2-ben.dooks@codethink.co.uk Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Makefile')
-rw-r--r--drivers/pwm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile
index c822389c2a24..c5ec9e168ee7 100644
--- a/drivers/pwm/Makefile
+++ b/drivers/pwm/Makefile
@@ -15,6 +15,7 @@ obj-$(CONFIG_PWM_CLK) += pwm-clk.o
obj-$(CONFIG_PWM_CLPS711X) += pwm-clps711x.o
obj-$(CONFIG_PWM_CRC) += pwm-crc.o
obj-$(CONFIG_PWM_CROS_EC) += pwm-cros-ec.o
+obj-$(CONFIG_PWM_DWC_CORE) += pwm-dwc-core.o
obj-$(CONFIG_PWM_DWC) += pwm-dwc.o
obj-$(CONFIG_PWM_EP93XX) += pwm-ep93xx.o
obj-$(CONFIG_PWM_FSL_FTM) += pwm-fsl-ftm.o