[Skiboot] [PATCH 2/3] zz: platform_ocapi can be static

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Dec 17 22:50:53 AEDT 2018


On 17/12/18 6:28 pm, Stewart Smith wrote:
> Signed-off-by: Stewart Smith <stewart at linux.ibm.com>

Acked-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

> ---
>   platforms/ibm-fsp/zz.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
> index 040eca1d94da..5e62403b3765 100644
> --- a/platforms/ibm-fsp/zz.c
> +++ b/platforms/ibm-fsp/zz.c
> @@ -29,7 +29,7 @@
>   #include "lxvpd.h"
>   
>   /* We don't yet create NPU device nodes on ZZ, but these values are correct */
> -const struct platform_ocapi zz_ocapi = {
> +static const struct platform_ocapi zz_ocapi = {
>   	.i2c_engine          = 1,
>   	.i2c_port            = 4,
>   	.i2c_reset_addr      = 0x20,
> 

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list