ASoC: simple-card: Fix crash in asoc_simple_card_unref()
[linux-2.6/btrfs-unstable.git] / include / linux / irqchip / metag-ext.h
blob697af0fe7c5a4cd261216bcf8afac90ca3476e56
1 /*
2 * Copyright (C) 2012 Imagination Technologies
3 */
5 #ifndef _LINUX_IRQCHIP_METAG_EXT_H_
6 #define _LINUX_IRQCHIP_METAG_EXT_H_
8 struct irq_data;
9 struct platform_device;
11 /* called from core irq code at init */
12 int init_external_IRQ(void);
15 * called from SoC init_irq() callback to dynamically indicate the lack of
16 * HWMASKEXT registers.
18 void meta_intc_no_mask(void);
21 * These allow SoCs to specialise the interrupt controller from their init_irq
22 * callbacks.
25 extern struct irq_chip meta_intc_edge_chip;
26 extern struct irq_chip meta_intc_level_chip;
28 /* this should be called in the mask callback */
29 void meta_intc_mask_irq_simple(struct irq_data *data);
30 /* this should be called in the unmask callback */
31 void meta_intc_unmask_irq_simple(struct irq_data *data);
33 #endif /* _LINUX_IRQCHIP_METAG_EXT_H_ */