These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / input / misc / gp2ap002a00f.c
index 0ac176d..3bfdfcc 100644 (file)
@@ -267,11 +267,11 @@ static const struct i2c_device_id gp2a_i2c_id[] = {
        { GP2A_I2C_NAME, 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, gp2a_i2c_id);
 
 static struct i2c_driver gp2a_i2c_driver = {
        .driver = {
                .name   = GP2A_I2C_NAME,
-               .owner  = THIS_MODULE,
                .pm     = &gp2a_pm,
        },
        .probe          = gp2a_probe,