projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mfd: wm31x: Fix Wvoid-pointer-to-enum-cast warning
[linux-2.6-microblaze.git]
/
drivers
/
mfd
/
wm831x-i2c.c
diff --git
a/drivers/mfd/wm831x-i2c.c
b/drivers/mfd/wm831x-i2c.c
index
997837f
..
694ddbb
100644
(file)
--- a/
drivers/mfd/wm831x-i2c.c
+++ b/
drivers/mfd/wm831x-i2c.c
@@
-36,7
+36,7
@@
static int wm831x_i2c_probe(struct i2c_client *i2c)
dev_err(&i2c->dev, "Failed to match device\n");
return -ENODEV;
}
- type = (
enum wm831x_paren
t)of_id->data;
+ type = (
uintptr_
t)of_id->data;
} else {
type = (enum wm831x_parent)id->driver_data;
}