From: Ben Dooks Date: Tue, 15 Oct 2019 13:12:38 +0000 (+0100) Subject: ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition X-Git-Tag: v4.19.101~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6a1dbca82dc80637d9f165cc349380812af51c3;p=platform%2Fkernel%2Flinux-rpi.git ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition [ Upstream commit 2079fe6ea8cbd2fb2fbadba911f1eca6c362eb9b ] The omap_sr_pdata is not declared but is exported, so add a define for it to fix the following warning: arch/arm/mach-omap2/pdata-quirks.c:609:36: warning: symbol 'omap_sr_pdata' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- diff --git a/include/linux/power/smartreflex.h b/include/linux/power/smartreflex.h index 7b81dad..37d9b70 100644 --- a/include/linux/power/smartreflex.h +++ b/include/linux/power/smartreflex.h @@ -296,6 +296,9 @@ struct omap_sr_data { struct voltagedomain *voltdm; }; + +extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR]; + #ifdef CONFIG_POWER_AVS_OMAP /* Smartreflex module enable/disable interface */