diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/mfd/pcf50633-irq.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'drivers/mfd/pcf50633-irq.c')
-rw-r--r-- | drivers/mfd/pcf50633-irq.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/mfd/pcf50633-irq.c b/drivers/mfd/pcf50633-irq.c index 498286cbb53..1b0192f1eff 100644 --- a/drivers/mfd/pcf50633-irq.c +++ b/drivers/mfd/pcf50633-irq.c | |||
@@ -15,11 +15,15 @@ | |||
15 | #include <linux/interrupt.h> | 15 | #include <linux/interrupt.h> |
16 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
17 | #include <linux/mutex.h> | 17 | #include <linux/mutex.h> |
18 | #include <linux/export.h> | ||
19 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
20 | 19 | ||
21 | #include <linux/mfd/pcf50633/core.h> | 20 | #include <linux/mfd/pcf50633/core.h> |
22 | #include <linux/mfd/pcf50633/mbc.h> | 21 | |
22 | /* Two MBCS registers used during cold start */ | ||
23 | #define PCF50633_REG_MBCS1 0x4b | ||
24 | #define PCF50633_REG_MBCS2 0x4c | ||
25 | #define PCF50633_MBCS1_USBPRES 0x01 | ||
26 | #define PCF50633_MBCS1_ADAPTPRES 0x01 | ||
23 | 27 | ||
24 | int pcf50633_register_irq(struct pcf50633 *pcf, int irq, | 28 | int pcf50633_register_irq(struct pcf50633 *pcf, int irq, |
25 | void (*handler) (int, void *), void *data) | 29 | void (*handler) (int, void *), void *data) |