summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-07-04 23:25:28 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-08-19 18:11:38 +0200
commit7490b8356e52e09c196645912f2c054f79aa5f3a (patch)
tree0148a0a7c4d5496677388a75dbfbfb7d3db4bb95 /drivers/rtc
parent402c89d28fecd28652a4bfe997f08f6544836381 (diff)
downloadlinux-next-7490b8356e52e09c196645912f2c054f79aa5f3a.tar.gz
linux-next-7490b8356e52e09c196645912f2c054f79aa5f3a.zip
rtc: ab-eoz9: 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://patch.msgid.link/20260704152528.53258-1-pengpeng@iscas.ac.cn Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-ab-eoz9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ab-eoz9.c b/drivers/rtc/rtc-ab-eoz9.c
index b75f4f665076..eb6d267c2ec3 100644
--- a/drivers/rtc/rtc-ab-eoz9.c
+++ b/drivers/rtc/rtc-ab-eoz9.c
@@ -549,6 +549,7 @@ static const struct i2c_device_id abeoz9_id[] = {
{ .name = "abeoz9" },
{ }
};
+MODULE_DEVICE_TABLE(i2c, abeoz9_id);
static struct i2c_driver abeoz9_driver = {
.driver = {