ARM: OMAP4+: PRM: determine prm_device_inst based on DT compatibility
[sfrench/cifs-2.6.git] / arch / arm / mach-omap2 / prcm-common.h
index 461bdc4ea8ec74c0f8a5f2f5348ea5149893b0a2..6ae0b3a1781e99deee4f2cdc8699a4f434ad7fa3 100644 (file)
@@ -524,6 +524,7 @@ struct omap_prcm_irq_setup {
  * @mem: IO mem pointer for this module
  * @offset: module base address offset from the IO base
  * @flags: PRCM module init flags
+ * @device_inst_offset: device instance offset within the module address space
  * @init: low level PRCM init function for this module
  * @np: device node for this PRCM module
  */
@@ -532,6 +533,7 @@ struct omap_prcm_init_data {
        void __iomem *mem;
        s16 offset;
        u16 flags;
+       s32 device_inst_offset;
        int (*init)(const struct omap_prcm_init_data *data);
        struct device_node *np;
 };