diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-07-21 09:14:36 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-10 08:37:38 +0200 |
commit | a1f64317bbf5febe4c763cd6e022d533a802b847 (patch) | |
tree | 72f13801aaf5aa5c464cbb8b63f9c8aa85cdbfa0 /drivers/i2c | |
parent | hwmon: ina209: move binding docs to proper place (diff) | |
download | linux-a1f64317bbf5febe4c763cd6e022d533a802b847.tar.xz linux-a1f64317bbf5febe4c763cd6e022d533a802b847.zip |
i2c: cadence: set THIS_MODULE to the owner of the adapter
The owner of the adapter is missing, while this driver is tristate.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-cadence.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index 18e48ae4a60d..84deed6571bd 100644 --- a/drivers/i2c/busses/i2c-cadence.c +++ b/drivers/i2c/busses/i2c-cadence.c @@ -896,6 +896,7 @@ static int cdns_i2c_probe(struct platform_device *pdev) id->irq = platform_get_irq(pdev, 0); + id->adap.owner = THIS_MODULE; id->adap.dev.of_node = pdev->dev.of_node; id->adap.algo = &cdns_i2c_algo; id->adap.timeout = CDNS_I2C_TIMEOUT; |