From: "hpp.iscas" <hppiscas@163.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: "hpp.iscas" <hppiscas@163.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
Naresh Solanki <naresh.solanki@9elements.com>
Subject: [PATCH] hwmon: (max6639) Publish the OF module alias
Date: Sat, 5 Sep 2026 21:36:43 +0800 [thread overview]
Message-ID: <20260905133643.65365-1-hppiscas@163.com> (raw)
The MAX6639 I2C driver matches Device Tree devices through
max6639_of_match, but only publishes its I2C ID table. The I2C core
emits an OF modalias for a Device Tree client, which does not match
the legacy i2c:max6639 alias.
Publish the existing OF table; retain legacy I2C detection.
Fixes: f11e27383c12 ("hwmon: (max6639) Add compatible string")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
drivers/hwmon/max6639.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c
index dd5f4b3..bf92361 100644
--- a/drivers/hwmon/max6639.c
+++ b/drivers/hwmon/max6639.c
@@ -790,6 +790,7 @@ static const struct of_device_id max6639_of_match[] = {
{ .compatible = "maxim,max6639", },
{ },
};
+MODULE_DEVICE_TABLE(of, max6639_of_match);
static struct i2c_driver max6639_driver = {
.class = I2C_CLASS_HWMON,
next reply other threads:[~2026-09-05 13:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-05 13:36 hpp.iscas [this message]
2026-09-05 13:48 ` [PATCH] hwmon: (max6639) Publish the OF module alias sashiko-bot
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=20260905133643.65365-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=naresh.solanki@9elements.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