diff options
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/ste_modem_rproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/remoteproc/ste_modem_rproc.c b/drivers/remoteproc/ste_modem_rproc.c index dd193f35a1ff..53dc17bdd54e 100644 --- a/drivers/remoteproc/ste_modem_rproc.c +++ b/drivers/remoteproc/ste_modem_rproc.c | |||
@@ -67,8 +67,7 @@ static int sproc_load_segments(struct rproc *rproc, const struct firmware *fw) | |||
67 | static const struct ste_toc_entry *sproc_find_rsc_entry(const void *data) | 67 | static const struct ste_toc_entry *sproc_find_rsc_entry(const void *data) |
68 | { | 68 | { |
69 | int i; | 69 | int i; |
70 | const struct ste_toc *toc; | 70 | const struct ste_toc *toc = data; |
71 | toc = data; | ||
72 | 71 | ||
73 | /* Search the table for the resource table */ | 72 | /* Search the table for the resource table */ |
74 | for (i = 0; i < SPROC_MAX_TOC_ENTRIES && | 73 | for (i = 0; i < SPROC_MAX_TOC_ENTRIES && |
@@ -230,6 +229,7 @@ static int sproc_start(struct rproc *rproc) | |||
230 | static int sproc_stop(struct rproc *rproc) | 229 | static int sproc_stop(struct rproc *rproc) |
231 | { | 230 | { |
232 | struct sproc *sproc = rproc->priv; | 231 | struct sproc *sproc = rproc->priv; |
232 | |||
233 | sproc_dbg(sproc, "stop ste-modem\n"); | 233 | sproc_dbg(sproc, "stop ste-modem\n"); |
234 | 234 | ||
235 | return sproc->mdev->ops.power(sproc->mdev, false); | 235 | return sproc->mdev->ops.power(sproc->mdev, false); |