Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186914
b: refs/heads/master
c: 91feded
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Ortiz committed Mar 7, 2010
1 parent 3ee1dde commit beb585c
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 14e5c82ca32870698b7cbe54196e00682d929ca5
refs/heads/master: 91fedede0338eb6203cdd618d8ece873fdb7c22c
5 changes: 5 additions & 0 deletions trunk/drivers/mfd/mfd-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/acpi.h>
#include <linux/mfd/core.h>

static int mfd_add_device(struct device *parent, int id,
Expand Down Expand Up @@ -62,6 +63,10 @@ static int mfd_add_device(struct device *parent, int id,
res[r].start = cell->resources[r].start;
res[r].end = cell->resources[r].end;
}

ret = acpi_check_resource_conflict(res);
if (ret)
goto fail_res;
}

platform_device_add_resources(pdev, res, cell->num_resources);
Expand Down

0 comments on commit beb585c

Please sign in to comment.