OSDN Git Service

soc: qcom: irq-helper: Add header file of irq-helper
authorRunmin Wang <runminw@codeaurora.org>
Fri, 5 Aug 2016 20:38:00 +0000 (13:38 -0700)
committerRunmin Wang <runminw@codeaurora.org>
Sat, 6 Aug 2016 00:08:57 +0000 (17:08 -0700)
Add header file of irq-helper to export black_list on/off api to
other module.

CRs-Fixed: 1051104
Change-Id: I4737975961b18f1095e3cd78d07a2bca22931291
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
drivers/soc/qcom/irq-helper.c
include/soc/qcom/irq-helper.h [new file with mode: 0644]

index 8ad279a..2bb7146 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/kobject.h>
 #include <linux/spinlock.h>
 #include <linux/slab.h>
+#include <soc/qcom/irq-helper.h>
 
 struct irq_helper {
        bool enable;
diff --git a/include/soc/qcom/irq-helper.h b/include/soc/qcom/irq-helper.h
new file mode 100644 (file)
index 0000000..d992fb6
--- /dev/null
@@ -0,0 +1,20 @@
+/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __SOC_QCOM_IRQ_HELPER_H
+#define __SOC_QCOM_IRQ_HELPER_H
+
+int irq_blacklist_on(void);
+int irq_blacklist_off(void);
+
+#endif
+