Linux PWM subsystem development
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: linux-pwm@vger.kernel.org
Cc: "Hans de Goede" <hdegoede@redhat.com>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
	platform-driver-x86@vger.kernel.org
Subject: [PATCH 0/2] pwm: lpss: module namespace fixes
Date: Tue,  3 Dec 2024 18:16:13 +0100	[thread overview]
Message-ID: <cover.1733245406.git.ukleinek@kernel.org> (raw)

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


             reply	other threads:[~2024-12-03 17:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03 17:16 Uwe Kleine-König [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1733245406.git.ukleinek@kernel.org \
    --to=u.kleine-koenig@baylibre.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-pwm@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox