From: Pengpeng Hou <hppiscas@163.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Pengpeng Hou <hppiscas@163.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
Peter Yin <peteryin.openbmc@gmail.com>
Subject: [PATCH v2] hwmon: (xdp710) export the OF module alias
Date: Thu, 3 Dec 2026 11:44:06 +0800 [thread overview]
Message-ID: <20261203034406.62675-1-hppiscas@163.com> (raw)
xdp710 exports its I2C ID table but not its OF match table. Export the
latter so the OF modalias generated for a device tree client can load
the driver.
Fixes: 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
Changes since v1:
Use the author's full name.
Previous version: https://lore.kernel.org/r/20260905133800.65749-1-hppiscas@163.com
Codex assisted with patch preparation and the changelog.
Current review: Codex (Assisted-by: gpt 5).
Static review only; this revision was not built.
drivers/hwmon/pmbus/xdp710.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/pmbus/xdp710.c b/drivers/hwmon/pmbus/xdp710.c
index 494dbe45ebc6b50450643fbf43b93c9c2640ff0a..bd062d141ae9a6ae5d87e41df05748e71f763f63 100644
--- a/drivers/hwmon/pmbus/xdp710.c
+++ b/drivers/hwmon/pmbus/xdp710.c
@@ -108,6 +108,7 @@ static const struct of_device_id xdp710_of_match[] = {
{ .compatible = "infineon,xdp710" },
{}
};
+MODULE_DEVICE_TABLE(of, xdp710_of_match);
static const struct i2c_device_id xdp710_id[] = {
{ .name = "xdp710" },
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
next reply other threads:[~2026-12-03 3:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 3:44 Pengpeng Hou [this message]
2026-12-03 17:26 ` Guenter Roeck
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=20261203034406.62675-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=peteryin.openbmc@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
all inboxes | Powered by JetHome®