These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / iio / light / gp2ap020a00f.c
index 32b6449..6d41086 100644 (file)
@@ -1634,13 +1634,13 @@ static const struct of_device_id gp2ap020a00f_of_match[] = {
        { .compatible = "sharp,gp2ap020a00f" },
        { }
 };
+MODULE_DEVICE_TABLE(of, gp2ap020a00f_of_match);
 #endif
 
 static struct i2c_driver gp2ap020a00f_driver = {
        .driver = {
                .name   = GP2A_I2C_NAME,
                .of_match_table = of_match_ptr(gp2ap020a00f_of_match),
-               .owner  = THIS_MODULE,
        },
        .probe          = gp2ap020a00f_probe,
        .remove         = gp2ap020a00f_remove,