--- zzzz-none-000/linux-3.10.107/drivers/i2c/busses/i2c-pca-platform.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/i2c/busses/i2c-pca-platform.c 2021-02-04 17:41:59.000000000 +0000 @@ -12,7 +12,6 @@ */ #include #include -#include #include #include #include @@ -136,7 +135,7 @@ struct i2c_pca_pf_data *i2c; struct resource *res; struct i2c_pca9564_pf_platform_data *platform_data = - pdev->dev.platform_data; + dev_get_platdata(&pdev->dev); int ret = 0; int irq; @@ -281,12 +280,11 @@ .remove = i2c_pca_pf_remove, .driver = { .name = "i2c-pca-platform", - .owner = THIS_MODULE, }, }; module_platform_driver(i2c_pca_pf_driver); -MODULE_AUTHOR("Wolfram Sang "); +MODULE_AUTHOR("Wolfram Sang "); MODULE_DESCRIPTION("I2C-PCA9564/PCA9665 platform driver"); MODULE_LICENSE("GPL");