|
@@ -381,6 +381,11 @@ static int compat_irq_set_type(struct irq_data *data, unsigned int type)
|
|
|
return data->chip->set_type(data->irq, type);
|
|
|
}
|
|
|
|
|
|
+static int compat_irq_set_wake(struct irq_data *data, unsigned int on)
|
|
|
+{
|
|
|
+ return data->chip->set_wake(data->irq, on);
|
|
|
+}
|
|
|
+
|
|
|
static void compat_bus_lock(struct irq_data *data)
|
|
|
{
|
|
|
data->chip->bus_lock(data->irq);
|
|
@@ -451,6 +456,8 @@ void irq_chip_set_defaults(struct irq_chip *chip)
|
|
|
chip->irq_set_affinity = compat_irq_set_affinity;
|
|
|
if (chip->set_type)
|
|
|
chip->irq_set_type = compat_irq_set_type;
|
|
|
+ if (chip->set_wake)
|
|
|
+ chip->irq_set_wake = compat_irq_set_wake;
|
|
|
}
|
|
|
|
|
|
static inline void mask_ack_irq(struct irq_desc *desc)
|