diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /drivers/mfd/sm5701_irq.c | |
Diffstat (limited to 'drivers/mfd/sm5701_irq.c')
| -rw-r--r-- | drivers/mfd/sm5701_irq.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/mfd/sm5701_irq.c b/drivers/mfd/sm5701_irq.c new file mode 100644 index 00000000..bb0aa63b --- /dev/null +++ b/drivers/mfd/sm5701_irq.c @@ -0,0 +1,42 @@ + /*
+ * sm5701_irq.c
+ *
+ * Copyright (c) 2014 Silicon Mitus Co., Ltd
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ */
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/device.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/mfd/sm5701_core.h>
+#include <linux/gpio.h>
+
+
+static irqreturn_t sm5701_irq_thread(int irq, void *data)
+{
+ //printk("******* %s *******\n",__func__);
+
+ return IRQ_HANDLED;
+}
+
+
+int sm5701_irq_init(struct sm5701_dev *sm5701)
+{
+ //printk("******* %s *******\n",__func__);
+
+ return 0;
+
+}
+EXPORT_SYMBOL(sm5701_irq_init);
+
+void sm5701_irq_exit(struct sm5701_dev *sm5701)
+{
+ //printk("******* %s *******\n",__func__);
+}
+EXPORT_SYMBOL(sm5701_irq_exit);
|
