summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/arche_platform.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2015-12-30 13:38:33 -0800
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-04 16:05:25 -0800
commit1e5dd1f8279a8a934b9df7adec47b944fe6b10f4 (patch)
tree7ce6b7475044071516d2c29138a06736f1a62a4d /drivers/staging/greybus/arche_platform.h
parentbc142bbb4ceba0891db6bf36cfb7be13c9a2dd72 (diff)
greybus: arche-platform: merge arche-apb-ctrl and arche-platform
No need to have two separate arche platform drivers, that's just crazy, so merge them both together to be only one kernel module. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Reviewed-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Tested-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/arche_platform.h')
-rw-r--r--drivers/staging/greybus/arche_platform.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/staging/greybus/arche_platform.h b/drivers/staging/greybus/arche_platform.h
new file mode 100644
index 000000000000..22a968a9197e
--- /dev/null
+++ b/drivers/staging/greybus/arche_platform.h
@@ -0,0 +1,17 @@
+/*
+ * Arche Platform driver to enable Unipro link.
+ *
+ * Copyright 2015-2016 Google Inc.
+ * Copyright 2015-2016 Linaro Ltd.
+ *
+ * Released under the GPLv2 only.
+ */
+
+#ifndef __ARCHE_PLATFORM_H
+#define __ARCHE_PLATFORM_H
+
+int arche_apb_ctrl_probe(struct platform_device *pdev);
+int arche_apb_ctrl_remove(struct platform_device *pdev);
+extern const struct dev_pm_ops arche_apb_ctrl_pm_ops;
+
+#endif /* __ARCHE_PLATFORM_H */