genirq/irqdomain: Rename irq_domain::dev to irq_domain:: Pm_dev
[linux-2.6-microblaze.git] / include / linux / irqdomain.h
index b1fdd8d..aa76da8 100644 (file)
@@ -131,7 +131,7 @@ struct irq_domain_chip_generic;
  * @gc:                Pointer to a list of generic chips. There is a helper function for
  *             setting up one or more generic chips for interrupt controllers
  *             drivers using the generic chip library which uses this pointer.
- * @dev:       Pointer to a device that can be utilized for power management
+ * @pm_dev:    Pointer to a device that can be utilized for power management
  *             purposes related to the irq domain.
  * @parent:    Pointer to parent irq_domain to support hierarchy irq_domains
  *
@@ -153,7 +153,7 @@ struct irq_domain {
        struct fwnode_handle            *fwnode;
        enum irq_domain_bus_token       bus_token;
        struct irq_domain_chip_generic  *gc;
-       struct device                   *dev;
+       struct device                   *pm_dev;
 #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY
        struct irq_domain               *parent;
 #endif
@@ -206,7 +206,7 @@ static inline void irq_domain_set_pm_device(struct irq_domain *d,
                                            struct device *dev)
 {
        if (d)
-               d->dev = dev;
+               d->pm_dev = dev;
 }
 
 #ifdef CONFIG_IRQ_DOMAIN