diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-10-20 15:16:30 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-20 18:15:39 +0200 |
commit | 8c5ec4c7ec0b58658d0fab813b9aca420b85ebfa (patch) | |
tree | b91f89d5c1482ba8a91d73bc018ebd65f8a0a875 /drivers/i2c | |
parent | 598cf1611b2686243c011207d24aa38e09f1a115 (diff) | |
download | op-kernel-dev-8c5ec4c7ec0b58658d0fab813b9aca420b85ebfa.zip op-kernel-dev-8c5ec4c7ec0b58658d0fab813b9aca420b85ebfa.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c index 4885da9..460c134 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 = { |