--- zzzz-none-000/linux-3.10.107/drivers/misc/lis3lv02d/lis3lv02d_spi.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/misc/lis3lv02d/lis3lv02d_spi.c 2021-02-04 17:41:59.000000000 +0000 @@ -10,7 +10,6 @@ #include #include -#include #include #include #include @@ -62,7 +61,7 @@ { .as_array = { 1, 2, 3 } }; #ifdef CONFIG_OF -static struct of_device_id lis302dl_spi_dt_ids[] = { +static const struct of_device_id lis302dl_spi_dt_ids[] = { { .compatible = "st,lis302dl-spi" }, {} }; @@ -139,7 +138,6 @@ static struct spi_driver lis302dl_spi_driver = { .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .pm = &lis3lv02d_spi_pm, .of_match_table = of_match_ptr(lis302dl_spi_dt_ids), },