--- zzzz-none-000/linux-3.10.107/arch/powerpc/sysdev/pmi.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/powerpc/sysdev/pmi.c 2021-02-04 17:41:59.000000000 +0000 @@ -101,7 +101,7 @@ } -static struct of_device_id pmi_match[] = { +static const struct of_device_id pmi_match[] = { { .type = "ibm,pmi", .name = "ibm,pmi" }, { .type = "ibm,pmi" }, {}, @@ -210,7 +210,6 @@ .remove = pmi_of_remove, .driver = { .name = "pmi", - .owner = THIS_MODULE, .of_match_table = pmi_match, }, };