提交 ebd65a58 编写于 作者: L Linus Torvalds

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6:
  regulator: Initialise wm831x structure pointor for ISINK driver
...@@ -167,6 +167,8 @@ static __devinit int wm831x_isink_probe(struct platform_device *pdev) ...@@ -167,6 +167,8 @@ static __devinit int wm831x_isink_probe(struct platform_device *pdev)
return -ENOMEM; return -ENOMEM;
} }
isink->wm831x = wm831x;
res = platform_get_resource(pdev, IORESOURCE_IO, 0); res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (res == NULL) { if (res == NULL) {
dev_err(&pdev->dev, "No I/O resource\n"); dev_err(&pdev->dev, "No I/O resource\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册