These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mfd / tps65217.c
index 7d1cfc1..d32b544 100644 (file)
@@ -39,6 +39,10 @@ static const struct mfd_cell tps65217s[] = {
                .name = "tps65217-bl",
                .of_compatible = "ti,tps65217-bl",
        },
+       {
+               .name = "tps65217-charger",
+               .of_compatible = "ti,tps65217-charger",
+       },
 };
 
 /**
@@ -156,6 +160,7 @@ static const struct of_device_id tps65217_of_match[] = {
        { .compatible = "ti,tps65217", .data = (void *)TPS65217 },
        { /* sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, tps65217_of_match);
 
 static int tps65217_probe(struct i2c_client *client,
                                const struct i2c_device_id *ids)
@@ -248,7 +253,6 @@ MODULE_DEVICE_TABLE(i2c, tps65217_id_table);
 static struct i2c_driver tps65217_driver = {
        .driver         = {
                .name   = "tps65217",
-               .owner  = THIS_MODULE,
                .of_match_table = tps65217_of_match,
        },
        .id_table       = tps65217_id_table,