提交 39aa3b5a 编写于 作者: M Mark Brown 提交者: Samuel Ortiz

mfd: wm8994: Add device ID data to WM8994 OF device IDs

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: NMark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 a79fc765
...@@ -673,9 +673,9 @@ static void wm8994_device_exit(struct wm8994 *wm8994) ...@@ -673,9 +673,9 @@ static void wm8994_device_exit(struct wm8994 *wm8994)
} }
static const struct of_device_id wm8994_of_match[] = { static const struct of_device_id wm8994_of_match[] = {
{ .compatible = "wlf,wm1811", }, { .compatible = "wlf,wm1811", .data = (void *)WM1811 },
{ .compatible = "wlf,wm8994", }, { .compatible = "wlf,wm8994", .data = (void *)WM8994 },
{ .compatible = "wlf,wm8958", }, { .compatible = "wlf,wm8958", .data = (void *)WM8958 },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, wm8994_of_match); MODULE_DEVICE_TABLE(of, wm8994_of_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册