[PATCH 0/2] pwm: lpss: module namespace fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

while working on a patch quite similar to
https://lore.kernel.org/all/20241203102124.3147478-4-masahiroy@xxxxxxxxxx/
I noticed that the module name space in drivers/pwm/pwm-lpss.c isn't
used. When I fixed that (patch #2) the intel pinctrl driver was unhappy
with

	WARNING: modpost: module pinctrl-intel uses symbol devm_pwm_lpss_probe from namespace PWM_LPSS, but does not import it.

so the first patch prevents this from happening.

This conflicts with ceb8bf2ceaa77fe222fe8fe32cb7789c9099ddf1 that is
currently in Linus' tree. I'll take care about that.

Best regards
Uwe

Uwe Kleine-König (2):
  pwm: lpss: Move namespace import into a header
  pwm: lpss: Define DEFAULT_SYMBOL_NAMESPACE earlier

 drivers/pwm/pwm-lpss-pci.c                 | 2 --
 drivers/pwm/pwm-lpss-platform.c            | 2 --
 drivers/pwm/pwm-lpss.c                     | 4 ++--
 include/linux/platform_data/x86/pwm-lpss.h | 7 +++++++
 4 files changed, 9 insertions(+), 6 deletions(-)

base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
-- 
2.45.2





[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux