diff options
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);
|
