[Skiboot] [PATCH 3/3] zaius: zaius_ocapi can be static

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Dec 17 22:51:10 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/astbmc/zaius.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/platforms/astbmc/zaius.c b/platforms/astbmc/zaius.c
> index 97bafdbc2052..dda97cb44cb7 100644
> --- a/platforms/astbmc/zaius.c
> +++ b/platforms/astbmc/zaius.c
> @@ -76,7 +76,7 @@ static void zaius_get_slot_info(struct phb *phb, struct pci_device *pd)
>   		slot_table_get_slot_info(phb, pd);
>   }
>   
> -const struct platform_ocapi zaius_ocapi = {
> +static const struct platform_ocapi zaius_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