summaryrefslogtreecommitdiff
path: root/include/soc/qcom
diff options
context:
space:
mode:
authorAmir Samuelov <amirs@codeaurora.org>2016-09-09 11:42:57 +0300
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-09 12:54:32 -0700
commit5a5b5183aa270bc9175c9a3db28babc1e31edae7 (patch)
tree9eb211fd30f7c7661dd1fcd761ea825b8ac47c41 /include/soc/qcom
parent3dc7ca5e82cc56abc0463e35f1851cd8e2eed97a (diff)
soc: qcom: pil: allow to set subsystem firmware name
Allow the PIL client to set the firmware file name for a specific subsystem. Change-Id: Ib410cae212afb067f5df2e5d25f4f23f583ed1f2 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Diffstat (limited to 'include/soc/qcom')
-rw-r--r--include/soc/qcom/subsystem_restart.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/soc/qcom/subsystem_restart.h b/include/soc/qcom/subsystem_restart.h
index 3a5f6e678b4f..780666c332e2 100644
--- a/include/soc/qcom/subsystem_restart.h
+++ b/include/soc/qcom/subsystem_restart.h
@@ -113,6 +113,7 @@ extern int subsystem_crashed(const char *name);
extern void *subsystem_get(const char *name);
extern void *subsystem_get_with_fwname(const char *name, const char *fw_name);
+extern int subsystem_set_fwname(const char *name, const char *fw_name);
extern void subsystem_put(void *subsystem);
extern struct subsys_device *subsys_register(struct subsys_desc *desc);
@@ -157,6 +158,11 @@ static inline void *subsystem_get_with_fwname(const char *name,
return NULL;
}
+static inline int subsystem_set_fwname(const char *name,
+ const char *fw_name) {
+ return 0;
+}
+
static inline void subsystem_put(void *subsystem) { }
static inline