提交 6fc26fc5 编写于 作者: L Linus Torvalds

Merge tag 'hsi-for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi

Pull HSI fix from Sebastian Reichel:
 "Fix uninitialized device pointer in nokia-modem"

* tag 'hsi-for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
  hsi: nokia-modem: fix uninitialized device pointer
...@@ -162,6 +162,7 @@ static int nokia_modem_probe(struct device *dev) ...@@ -162,6 +162,7 @@ static int nokia_modem_probe(struct device *dev)
return -ENOMEM; return -ENOMEM;
} }
dev_set_drvdata(dev, modem); dev_set_drvdata(dev, modem);
modem->device = dev;
irq = irq_of_parse_and_map(np, 0); irq = irq_of_parse_and_map(np, 0);
if (!irq) { if (!irq) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册