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

pinctrl: intel: Import PWM_LPSS namespace for devm_pwm_lpss_probe()

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>

authored by

Uwe Kleine-König and committed by
Andy Shevchenko
c42a407b 5feac4d7

+1
+1
drivers/pinctrl/intel/pinctrl-intel.c
··· 1941 1941 MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>"); 1942 1942 MODULE_DESCRIPTION("Intel pinctrl/GPIO core driver"); 1943 1943 MODULE_LICENSE("GPL v2"); 1944 + MODULE_IMPORT_NS("PWM_LPSS");