diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-10-20 16:16:29 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-20 18:15:03 +0200 |
commit | 598cf1611b2686243c011207d24aa38e09f1a115 (patch) | |
tree | 200128b4eef5c76895d275bd5f6279a5ac04812a /drivers/i2c/busses/i2c-rk3x.c | |
parent | i2c: meson: Fix module autoload for OF platform driver (diff) | |
download | linux-598cf1611b2686243c011207d24aa38e09f1a115.tar.xz linux-598cf1611b2686243c011207d24aa38e09f1a115.zip |
i2c: rk3x: 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-rk3x.c')
-rw-r--r-- | drivers/i2c/busses/i2c-rk3x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index 72e97e306bd9..c1935ebd6a9c 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c @@ -858,6 +858,7 @@ static const struct of_device_id rk3x_i2c_match[] = { { .compatible = "rockchip,rk3288-i2c", .data = (void *)&soc_data[2] }, {}, }; +MODULE_DEVICE_TABLE(of, rk3x_i2c_match); static int rk3x_i2c_probe(struct platform_device *pdev) { |