Source
26
26
* along with this program; if not, write to the Free Software
27
27
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
28
*/
29
29
30
30
#include <linux/export.h>
31
31
#include <linux/interrupt.h>
32
32
#include <linux/irq.h>
33
33
#include <linux/slab.h>
34
34
#include <linux/of.h>
35
35
#include <linux/irqdomain.h>
36
-
#include <linux/i2c/twl.h>
36
+
#include <linux/mfd/twl.h>
37
37
38
38
#include "twl-core.h"
39
39
40
40
/*
41
41
* TWL4030 IRQ handling has two stages in hardware, and thus in software.
42
42
* The Primary Interrupt Handler (PIH) stage exposes status bits saying
43
43
* which Secondary Interrupt Handler (SIH) stage is raising an interrupt.
44
44
* SIH modules are more traditional IRQ components, which support per-IRQ
45
45
* enable/disable and trigger controls; they do most of the work.
46
46
*