hwmon: (acbel-fsg032) Add missing MODULE_DEVICE_TABLE()

The driver has a match table for the i2c bus wired into its driver
structure, but the table is not exported with MODULE_DEVICE_TABLE().

Add the missing MODULE_DEVICE_TABLE() entry so module alias information
is generated for automatic module loading.

This is a source-level fix.  It does not claim dynamic hardware
reproduction; the evidence is the driver-owned match table, its use by
the driver registration structure, and the missing module alias
publication.

Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20260704151543.35069-1-pengpeng@iscas.ac.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Pengpeng Hou
2026-07-04 23:15:43 +08:00
committed by Guenter Roeck
parent ff71049f36
commit 2ed6f97e56

View File

@@ -52,6 +52,7 @@ static const struct i2c_device_id acbel_fsg032_id[] = {
{ .name = "acbel_fsg032" },
{ }
};
MODULE_DEVICE_TABLE(i2c, acbel_fsg032_id);
static struct pmbus_driver_info acbel_fsg032_info = {
.pages = 1,