diff options
| author | Andy Shevchenko <[email protected]> | 2022-09-27 16:24:16 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2022-09-28 14:08:51 +0000 |
| commit | a3682d2fe3c36c68899bf1b956ed68d36d005868 (patch) | |
| tree | 1e7fab6cdbbc32e515b2f79a405b50bbe4fef4bc /drivers/pwm/pwm-lpss-pci.c | |
| parent | pwm: lpss: Deduplicate board info data structures (diff) | |
| download | kernel-a3682d2fe3c36c68899bf1b956ed68d36d005868.tar.gz kernel-a3682d2fe3c36c68899bf1b956ed68d36d005868.zip | |
pwm: lpss: Move exported symbols to PWM_LPSS namespace
Avoid unnecessary pollution of the global symbol namespace by
moving library functions in to a specific namespace and import
that into the drivers that make use of the functions.
For more info: https://lwn.net/Articles/760045/
Suggested-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-lpss-pci.c')
| -rw-r--r-- | drivers/pwm/pwm-lpss-pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-lpss-pci.c b/drivers/pwm/pwm-lpss-pci.c index 75b778e839b3..9f2c666b95ec 100644 --- a/drivers/pwm/pwm-lpss-pci.c +++ b/drivers/pwm/pwm-lpss-pci.c @@ -92,3 +92,4 @@ module_pci_driver(pwm_lpss_driver_pci); MODULE_DESCRIPTION("PWM PCI driver for Intel LPSS"); MODULE_LICENSE("GPL v2"); +MODULE_IMPORT_NS(PWM_LPSS); |
