From a1b15f9474a4257a5ec8ddb75b628d9288727747 Mon Sep 17 00:00:00 2001 From: Miguel Vadillo Date: Fri, 6 Apr 2012 11:28:09 -0500 Subject: 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 Signed-off-by: Miguel Vadillo --- drivers/remoteproc/omap_remoteproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- cgit v1.1