summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-ibm_iic.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-10-20 14:16:27 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2015-10-20 16:14:01 (GMT)
commitd695e22a27a958cb20f5b11df2692c13b15fc80e (patch)
tree83f4b736202d0fc40c0d702797007447da3f6ba7 /drivers/i2c/busses/i2c-ibm_iic.c
parentc6f1891323e6a259c0b0f516a3a3e0f6b0ee2c5f (diff)
downloadlinux-d695e22a27a958cb20f5b11df2692c13b15fc80e.tar.xz
i2c: ibm-iic: 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> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index 722f839..ab49230 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -798,6 +798,7 @@ static const struct of_device_id ibm_iic_match[] = {
{ .compatible = "ibm,iic", },
{}
};
+MODULE_DEVICE_TABLE(of, ibm_iic_match);
static struct platform_driver ibm_iic_driver = {
.driver = {