summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8994-core.c
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2014-02-24 22:21:29 -0800
committerMike Turquette <mturquette@linaro.org>2014-02-24 22:21:29 -0800
commit10b7cdc0084c27a312e59e80420c6aac70c64753 (patch)
treeee891d6236bcd8dc988624839760aaa1846cf906 /drivers/mfd/wm8994-core.c
parent00efcb1c8e1c3c5e5d3ce6f0682d66402911a84f (diff)
parent60480994c70981d0336aadb3f46b052977d3d19f (diff)
downloadtalos-op-linux-10b7cdc0084c27a312e59e80420c6aac70c64753.tar.gz
talos-op-linux-10b7cdc0084c27a312e59e80420c6aac70c64753.zip
Merge branch 'clocks/fixes/drivers' of git://linuxtv.org/pinchartl/fbdev into clk-fixes
Diffstat (limited to 'drivers/mfd/wm8994-core.c')
-rw-r--r--drivers/mfd/wm8994-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c
index ba04f1bc70eb..e6fab94e2c8a 100644
--- a/drivers/mfd/wm8994-core.c
+++ b/drivers/mfd/wm8994-core.c
@@ -636,7 +636,7 @@ static int wm8994_i2c_probe(struct i2c_client *i2c,
if (i2c->dev.of_node) {
of_id = of_match_device(wm8994_of_match, &i2c->dev);
if (of_id)
- wm8994->type = (int)of_id->data;
+ wm8994->type = (enum wm8994_type)of_id->data;
} else {
wm8994->type = id->driver_data;
}
OpenPOWER on IntegriCloud