]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: intel: Import PWM_LPSS namespace for devm_pwm_lpss_probe()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 23 Jan 2025 10:11:10 +0000 (11:11 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Feb 2025 15:22:36 +0000 (17:22 +0200)
The Intel pinctrl driver can provide a PWM device and for that needs to
call the function devm_pwm_lpss_probe(). That function is provided by
the pwm-lpss driver which intends to export it in the "PWM_LPSS"
namespace. To prepare fixing the pwm-lpss driver to indeed use the
"PWM_LPSS" namespace, import that namespace when used.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c

index 527e4b87ae52e85b6f2997c37b7f5b24d3f62964..d593ad03f94968a2d5d3bd32c25dd4f966ea8c05 100644 (file)
@@ -1941,3 +1941,4 @@ MODULE_AUTHOR("Mathias Nyman <mathias.nyman@linux.intel.com>");
 MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>");
 MODULE_DESCRIPTION("Intel pinctrl/GPIO core driver");
 MODULE_LICENSE("GPL v2");
+MODULE_IMPORT_NS("PWM_LPSS");