summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/firmware.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-08-12 09:19:33 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-08-11 22:12:59 -0700
commit90f1b617d88f145506e9061436069583cb82d101 (patch)
tree3fb47e06cc0f6f1423be189046d8c8370799d99c /drivers/staging/greybus/firmware.h
parent738599c0dd7fef4d28f416ff9b0b3bc1b07468d2 (diff)
greybus: Add firmware protocol driver
This adds firmware protocol driver based on the latest specs available on mailing lists. This uses the firmware framework present in kernel. Refer Documentation/firmware_class/README on how it works. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/firmware.h')
-rw-r--r--drivers/staging/greybus/firmware.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/staging/greybus/firmware.h b/drivers/staging/greybus/firmware.h
new file mode 100644
index 000000000000..548d297eec63
--- /dev/null
+++ b/drivers/staging/greybus/firmware.h
@@ -0,0 +1,16 @@
+/*
+ * Greybus firmware code
+ *
+ * Copyright 2015 Google Inc.
+ * Copyright 2015 Linaro Ltd.
+ *
+ * Released under the GPLv2 only.
+ */
+
+#ifndef __FIRMWARE_H
+#define __FIRMWARE_H
+
+int gb_firmware_protocol_init(void);
+void gb_firmware_protocol_exit(void);
+
+#endif /* __FIRMWARE_H */