mfd: core: propagate device properties to sub devices drivers
[sfrench/cifs-2.6.git] / include / linux / mfd / core.h
index 27dac3ff18b949a0c32d508a3830f676992fc14c..bc6f7e00fb3de33438759c6c88184b7385dc86b7 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/platform_device.h>
 
 struct irq_domain;
+struct property_set;
 
 /* Matches ACPI PNP id, either _HID or _CID, or ACPI _ADR */
 struct mfd_cell_acpi_match {
@@ -44,6 +45,10 @@ struct mfd_cell {
        /* platform data passed to the sub devices drivers */
        void                    *platform_data;
        size_t                  pdata_size;
+
+       /* device properties passed to the sub devices drivers */
+       const struct property_set *pset;
+
        /*
         * Device Tree compatible string
         * See: Documentation/devicetree/usage-model.txt Chapter 2.2 for details