--- zzzz-none-000/linux-3.10.107/drivers/input/keyboard/omap-keypad.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/input/keyboard/omap-keypad.c 2021-02-04 17:41:59.000000000 +0000 @@ -25,7 +25,6 @@ */ #include -#include #include #include #include @@ -248,7 +247,7 @@ { struct omap_kp *omap_kp; struct input_dev *input_dev; - struct omap_kp_platform_data *pdata = pdev->dev.platform_data; + struct omap_kp_platform_data *pdata = dev_get_platdata(&pdev->dev); int i, col_idx, row_idx, ret; unsigned int row_shift, keycodemax; @@ -384,7 +383,6 @@ .resume = omap_kp_resume, .driver = { .name = "omap-keypad", - .owner = THIS_MODULE, }, }; module_platform_driver(omap_kp_driver);