diff options
Diffstat (limited to 'kernel/drivers/power/tps65217_charger.c')
-rw-r--r-- | kernel/drivers/power/tps65217_charger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/power/tps65217_charger.c b/kernel/drivers/power/tps65217_charger.c index d9f56730c..040a40b4b 100644 --- a/kernel/drivers/power/tps65217_charger.c +++ b/kernel/drivers/power/tps65217_charger.c @@ -205,6 +205,7 @@ static int tps65217_charger_probe(struct platform_device *pdev) if (!charger) return -ENOMEM; + platform_set_drvdata(pdev, charger); charger->tps = tps; charger->dev = &pdev->dev; |