mfd: intel-lpss: Fix build error when !CONFIG_PM_SLEEP
[linux-drm-fsl-dcu.git] / drivers / mfd / tps65217.c
index 7d1cfc1d3ce00314c3fdbab602bf3a1d8d1fa9be..55add0453ae9ba642b8570f9f003007857607eda 100644 (file)
@@ -156,6 +156,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 +249,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,