diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c index 9fc05b9b0bab06cd6ceac348a674d70ae676c673..ffc3d48676ae67c5c838700d212310025ec8f2da 100644 --- a/drivers/mfd/mfd-core.c +++ b/drivers/mfd/mfd-core.c @@ -123,7 +123,7 @@ static int mfd_add_device(struct device *parent, int id, } if (!cell->ignore_resource_conflicts) { - ret = acpi_check_resource_conflict(res); + ret = acpi_check_resource_conflict(&res[r]); if (ret) goto fail_res; }