diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-10-20 17:16:27 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-20 19:14:01 +0300 |
commit | d695e22a27a958cb20f5b11df2692c13b15fc80e (patch) | |
tree | 83f4b736202d0fc40c0d702797007447da3f6ba7 /drivers/i2c | |
parent | c6f1891323e6a259c0b0f516a3a3e0f6b0ee2c5f (diff) | |
download | linux-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')
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 1 |
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 722f839cfa3c..ab492301581a 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 = { |