summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-10-20 15:16:30 +0100
committerWolfram Sang <wsa@the-dreams.de>2015-10-20 18:15:39 +0200
commit8c5ec4c7ec0b58658d0fab813b9aca420b85ebfa (patch)
treeb91f89d5c1482ba8a91d73bc018ebd65f8a0a875 /drivers/i2c
parent598cf1611b2686243c011207d24aa38e09f1a115 (diff)
downloadtalos-obmc-linux-8c5ec4c7ec0b58658d0fab813b9aca420b85ebfa.tar.gz
talos-obmc-linux-8c5ec4c7ec0b58658d0fab813b9aca420b85ebfa.zip
i2c: stu300: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-stu300.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c
index 4885da9e9298..460c134832ac 100644
--- a/drivers/i2c/busses/i2c-stu300.c
+++ b/drivers/i2c/busses/i2c-stu300.c
@@ -977,6 +977,7 @@ static const struct of_device_id stu300_dt_match[] = {
{ .compatible = "st,ddci2c" },
{},
};
+MODULE_DEVICE_TABLE(of, stu300_dt_match);
static struct platform_driver stu300_i2c_driver = {
.driver = {
OpenPOWER on IntegriCloud