diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-10-20 15:16:29 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-20 18:15:03 +0200 |
commit | 598cf1611b2686243c011207d24aa38e09f1a115 (patch) | |
tree | 200128b4eef5c76895d275bd5f6279a5ac04812a /drivers/i2c | |
parent | 93ae965022bfcdde473a5ff09e48dff7c8dab08c (diff) | |
download | op-kernel-dev-598cf1611b2686243c011207d24aa38e09f1a115.zip op-kernel-dev-598cf1611b2686243c011207d24aa38e09f1a115.tar.gz |
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')
-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 72e97e30..c1935eb 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) { |