* [PATCH v2] hwmon: (xdp710) export the OF module alias
@ 2026-12-03 3:44 Pengpeng Hou
2026-12-03 3:46 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Pengpeng Hou @ 2026-12-03 3:44 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Pengpeng Hou, linux-hwmon, linux-kernel, Peter Yin
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-03 3:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 3:44 [PATCH v2] hwmon: (xdp710) export the OF module alias Pengpeng Hou
2026-12-03 3:46 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox