Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583698 > unrolled thread

[RFT 2/4] mfd: max14577: Export OF module alias information

Started byKrzysztof Kozlowski <krzk@kernel.org>
First post2017-02-17 21:10 +0100
Last post2017-02-17 21:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFT 2/4] mfd: max14577: Export OF module alias information Krzysztof Kozlowski <krzk@kernel.org> - 2017-02-17 21:10 +0100

#1583698 — [RFT 2/4] mfd: max14577: Export OF module alias information

FromKrzysztof Kozlowski <krzk@kernel.org>
Date2017-02-17 21:10 +0100
Subject[RFT 2/4] mfd: max14577: Export OF module alias information
Message-ID<tbX0R-q0-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web