diff options
author | Miguel Vadillo <vadillo@ti.com> | 2012-04-06 11:28:09 -0500 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:57:53 +0200 |
commit | a1b15f9474a4257a5ec8ddb75b628d9288727747 (patch) | |
tree | b434bb042f6bea23c0fe979dbb1212760b993230 | |
parent | 515683156da37d94d86bb8aa24ad1b2058cd3b25 (diff) | |
download | kernel_samsung_tuna-a1b15f9474a4257a5ec8ddb75b628d9288727747.zip kernel_samsung_tuna-a1b15f9474a4257a5ec8ddb75b628d9288727747.tar.gz kernel_samsung_tuna-a1b15f9474a4257a5ec8ddb75b628d9288727747.tar.bz2 |
omap: remoteproc: fix a compilation error on autosuspend disable
The patch,
"omap: remoteproc: set the load boot address in activate function",
introduced a compilation error when the remoteproc autosuspend is
disabled from the kernel menuconfig.
drivers/remoteproc/omap_remoteproc.c: In function 'omap_rproc_activate':
drivers/remoteproc/omap_remoteproc.c:191: error: 'struct omap_rproc_priv' has no member named 'bootaddr'
drivers/remoteproc/omap_remoteproc.c: In function 'omap_rproc_start':
drivers/remoteproc/omap_remoteproc.c:470: error: 'struct omap_rproc_priv' has no member named 'bootaddr'
make[2]: *** [drivers/remoteproc/omap_remoteproc.o] Error 1
make[1]: *** [drivers/remoteproc] Error 2
make: *** [drivers] Error 2
The same has been fixed.
Change-Id: I99506d6d30724e51a0325762d9ba2dff533fe852
Reported-by: Mihail Dobrev <x0099086@ti.com>
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
-rw-r--r-- | drivers/remoteproc/omap_remoteproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c index b5a4819..3cf21e9 100644 --- a/drivers/remoteproc/omap_remoteproc.c +++ b/drivers/remoteproc/omap_remoteproc.c @@ -41,13 +41,13 @@ struct omap_rproc_priv { struct iommu *iommu; int (*iommu_cb)(struct rproc *, u64, u32); int (*wdt_cb)(struct rproc *); + u64 bootaddr; #ifdef CONFIG_REMOTE_PROC_AUTOSUSPEND struct omap_mbox *mbox; void __iomem *idle; u32 idle_mask; void __iomem *suspend; u32 suspend_mask; - u64 bootaddr; #endif }; |