projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v3.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mfd
/
wm8994-core.c
diff --git
a/drivers/mfd/wm8994-core.c
b/drivers/mfd/wm8994-core.c
index ba04f1bc70eb52988ce27b5f4e45195e8b216b82..e6fab94e2c8a0fb1eed8df339833e36f2dd7c38b 100644
(file)
--- 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;
}