summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/core.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-09-30 21:55:36 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:29:48 +0200
commit5f2545fa156f3d4d327038d7664608e146809a3c (patch)
tree82794cb7ca41816463a35bcf27a4f18af0633730 /include/linux/mfd/core.h
parent2d95ae3bbffe54b2e73e0d291e1d67e09d5e448f (diff)
downloadblackbird-op-linux-5f2545fa156f3d4d327038d7664608e146809a3c.tar.gz
blackbird-op-linux-5f2545fa156f3d4d327038d7664608e146809a3c.zip
mfd: Allow for bypass of cell resource conflict check
The upcoming VIA VX855 MFD driver needs to communicate resources to subdevices where the resources may be claimed by ACPI. Add a flag to mfd_cell to request that resources are not policed. Signed-off-by: Daniel Drake <dsd@laptop.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/core.h')
-rw-r--r--include/linux/mfd/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
index 11d740b8831d..cb93d80aa642 100644
--- a/include/linux/mfd/core.h
+++ b/include/linux/mfd/core.h
@@ -44,6 +44,9 @@ struct mfd_cell {
*/
int num_resources;
const struct resource *resources;
+
+ /* don't check for resource conflicts */
+ bool ignore_resource_conflicts;
};
extern int mfd_add_devices(struct device *parent, int id,
OpenPOWER on IntegriCloud