Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336765
b: refs/heads/master
c: a6b5e88
h: refs/heads/master
i:
  336763: 9cc76d0
v: v3
  • Loading branch information
Rafael J. Wysocki committed Nov 30, 2012
1 parent 6a3ddfc commit aadaf78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0c2ce16bec0afa6013b4c5220ca4c9c67210215
refs/heads/master: a6b5e88c0e42093b9057856f35770966c8c591e3
3 changes: 3 additions & 0 deletions trunk/drivers/pnp/pnpacpi/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ static int pnpacpi_set_resources(struct pnp_dev *dev)
return -ENODEV;
}

if (WARN_ON_ONCE(acpi_dev != dev->data))
dev->data = acpi_dev;

ret = pnpacpi_build_resource_template(dev, &buffer);
if (ret)
return ret;
Expand Down

0 comments on commit aadaf78

Please sign in to comment.