From: Krzysztof Kozlowski <krzk@kernel.org>
To: Lee Jones <lee.jones@linaro.org>,
Chanwoo Choi <cw00.choi@samsung.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
linux-kernel@vger.kernel.org
Subject: [RFT 2/4] mfd: max14577: Export OF module alias information
Date: Fri, 17 Feb 2017 22:01:58 +0200 [thread overview]
Message-ID: <20170217200200.4521-3-krzk@kernel.org> (raw)
In-Reply-To: <20170217200200.4521-1-krzk@kernel.org>
Driver can be built as module and in such case for DT-based platform the
OF match table will be used for matching. Export the module alias
information for this. This will also allow removal of I2C device id
related code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
drivers/mfd/max14577.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 6cbe96b28f42..f6772d64a6a4 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -152,6 +152,7 @@ static const struct of_device_id max14577_dt_match[] = {
},
{},
};
+MODULE_DEVICE_TABLE(of, max14577_dt_match);
static bool max14577_muic_volatile_reg(struct device *dev, unsigned int reg)
{
--
2.9.3
next prev parent reply other threads:[~2017-02-17 20:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170217200214epcas3p4d72abd10d1ce7dbbbcd626bcf452fa37@epcas3p4.samsung.com>
2017-02-17 20:01 ` [RFT 0/4] mfd: regulator: max14577: Remove support for platform data Krzysztof Kozlowski
2017-02-17 20:01 ` [RFT 1/4] mfd: max14577: Explicitly depend on OF Krzysztof Kozlowski
2017-02-17 20:01 ` Krzysztof Kozlowski [this message]
2017-02-17 20:01 ` [RFT 3/4] regulator: max14577: Remove support for platform data Krzysztof Kozlowski
2017-02-18 0:02 ` Mark Brown
2017-02-17 20:02 ` [RFT 4/4] mfd: max14577: Remove platform data and instantiation from I2C Krzysztof Kozlowski
2017-02-27 12:55 ` [RFT 0/4] mfd: regulator: max14577: Remove support for platform data Bartlomiej Zolnierkiewicz
2017-02-27 15:32 ` Krzysztof Kozlowski
2017-02-27 15:52 ` Bartlomiej Zolnierkiewicz
2017-02-28 9:47 ` Mark Brown
2017-02-28 11:34 ` Bartlomiej Zolnierkiewicz
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=20170217200200.4521-3-krzk@kernel.org \
--to=krzk@kernel.org \
--cc=b.zolnierkie@samsung.com \
--cc=broonie@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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