diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 5e7c6ee8c35c..ce8171bc6fac 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -101,6 +101,9 @@ struct msi_desc; | |||
101 | * @set_type: set the flow type (IRQ_TYPE_LEVEL/etc.) of an IRQ | 101 | * @set_type: set the flow type (IRQ_TYPE_LEVEL/etc.) of an IRQ |
102 | * @set_wake: enable/disable power-management wake-on of an IRQ | 102 | * @set_wake: enable/disable power-management wake-on of an IRQ |
103 | * | 103 | * |
104 | * @bus_lock: function to lock access to slow bus (i2c) chips | ||
105 | * @bus_sync_unlock: function to sync and unlock slow bus (i2c) chips | ||
106 | * | ||
104 | * @release: release function solely used by UML | 107 | * @release: release function solely used by UML |
105 | * @typename: obsoleted by name, kept as migration helper | 108 | * @typename: obsoleted by name, kept as migration helper |
106 | */ | 109 | */ |
@@ -124,6 +127,9 @@ struct irq_chip { | |||
124 | int (*set_type)(unsigned int irq, unsigned int flow_type); | 127 | int (*set_type)(unsigned int irq, unsigned int flow_type); |
125 | int (*set_wake)(unsigned int irq, unsigned int on); | 128 | int (*set_wake)(unsigned int irq, unsigned int on); |
126 | 129 | ||
130 | void (*bus_lock)(unsigned int irq); | ||
131 | void (*bus_sync_unlock)(unsigned int irq); | ||
132 | |||
127 | /* Currently used only by UML, might disappear one day.*/ | 133 | /* Currently used only by UML, might disappear one day.*/ |
128 | #ifdef CONFIG_IRQ_RELEASE_METHOD | 134 | #ifdef CONFIG_IRQ_RELEASE_METHOD |
129 | void (*release)(unsigned int irq, void *dev_id); | 135 | void (*release)(unsigned int irq, void *dev_id); |