Linux PWM subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm: lpss: module namespace fixes
@ 2024-12-03 17:16 Uwe Kleine-König
  2024-12-03 17:16 ` [PATCH 1/2] pwm: lpss: Move namespace import into a header Uwe Kleine-König
  2024-12-03 17:16 ` [PATCH 2/2] pwm: lpss: Define DEFAULT_SYMBOL_NAMESPACE earlier Uwe Kleine-König
  0 siblings, 2 replies; 11+ messages in thread
From: Uwe Kleine-König @ 2024-12-03 17:16 UTC (permalink / raw)
  To: linux-pwm
  Cc: Hans de Goede, Ilpo Järvinen, Thierry Reding,
	Andy Shevchenko, platform-driver-x86

Hello,

while working on a patch quite similar to
https://lore.kernel.org/all/20241203102124.3147478-4-masahiroy@kernel.org/
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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-01-21 22:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 17:16 [PATCH 0/2] pwm: lpss: module namespace fixes Uwe Kleine-König
2024-12-03 17:16 ` [PATCH 1/2] pwm: lpss: Move namespace import into a header Uwe Kleine-König
2024-12-03 19:12   ` Andy Shevchenko
2024-12-03 21:32     ` Uwe Kleine-König
2024-12-03 22:28       ` Andy Shevchenko
2024-12-03 23:38         ` Uwe Kleine-König
2024-12-04  1:50           ` Andy Shevchenko
2024-12-16  8:46     ` Uwe Kleine-König
2025-01-21 22:46       ` Linus Walleij
2024-12-03 17:16 ` [PATCH 2/2] pwm: lpss: Define DEFAULT_SYMBOL_NAMESPACE earlier Uwe Kleine-König
2024-12-03 19:19   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox