projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79fc76
)
mfd: wm8994: Add device ID data to WM8994 OF device IDs
author
Mark Brown
<
[email protected]
>
Thu, 11 Apr 2013 17:11:50 +0000
(18:11 +0100)
committer
Samuel Ortiz
<
[email protected]
>
Thu, 18 Apr 2013 22:35:19 +0000
(
00:35
+0200)
We can actually read this back from the device but we use this when
registered using standard I2C board data registration so make sure
it's there for OF too.
Signed-off-by: Mark Brown <
[email protected]
>
Tested-by: Sylwester Nawrocki <
[email protected]
>
Signed-off-by: Samuel Ortiz <
[email protected]
>
drivers/mfd/wm8994-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm8994-core.c
b/drivers/mfd/wm8994-core.c
index cdea84e727e57f16bd7cc9e847622c24c8700383..3f8d591e9fe2000a85440583dbbe01c2f1bb0cd1 100644
(file)
--- a/
drivers/mfd/wm8994-core.c
+++ b/
drivers/mfd/wm8994-core.c
@@
-673,9
+673,9
@@
static void wm8994_device_exit(struct wm8994 *wm8994)
}
static const struct of_device_id wm8994_of_match[] = {
- { .compatible = "wlf,wm1811", },
- { .compatible = "wlf,wm8994", },
- { .compatible = "wlf,wm8958", },
+ { .compatible = "wlf,wm1811",
.data = (void *)WM1811
},
+ { .compatible = "wlf,wm8994",
.data = (void *)WM8994
},
+ { .compatible = "wlf,wm8958",
.data = (void *)WM8958
},
{ }
};
MODULE_DEVICE_TABLE(of, wm8994_of_match);