[PATCH v2] hwmon: (xdp710) export the OF module alias

From: Pengpeng Hou

Date: Wed Dec 02 2026 - 22:44:41 EST


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@xxxxxxx>
---
Changes since v1:
Use the author's full name.
Previous version: https://lore.kernel.org/r/20260905133800.65749-1-hppiscas@xxxxxxx

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