Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c bug fixes from Wolfram Sang: "Two small bugfixes for I2C" * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: s3c2410: fix oops in suspend callback for non-dt platforms i2c: hix5hd2: Fix modalias to make module auto-loading work
This commit is contained in:
commit
dc2c6eb6f7
2 changed files with 2 additions and 1 deletions
|
@ -554,4 +554,4 @@ module_platform_driver(hix5hd2_i2c_driver);
|
||||||
MODULE_DESCRIPTION("Hix5hd2 I2C Bus driver");
|
MODULE_DESCRIPTION("Hix5hd2 I2C Bus driver");
|
||||||
MODULE_AUTHOR("Wei Yan <sledge.yanwei@huawei.com>");
|
MODULE_AUTHOR("Wei Yan <sledge.yanwei@huawei.com>");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_ALIAS("platform:i2c-hix5hd2");
|
MODULE_ALIAS("platform:hix5hd2-i2c");
|
||||||
|
|
|
@ -1143,6 +1143,7 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
i2c->quirks = s3c24xx_get_device_quirks(pdev);
|
i2c->quirks = s3c24xx_get_device_quirks(pdev);
|
||||||
|
i2c->sysreg = ERR_PTR(-ENOENT);
|
||||||
if (pdata)
|
if (pdata)
|
||||||
memcpy(i2c->pdata, pdata, sizeof(*pdata));
|
memcpy(i2c->pdata, pdata, sizeof(*pdata));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue