Message ID | 20181217072810.30160-4-stewart@linux.ibm.com |
---|---|
State | Accepted |
Headers | show |
Series | Sparse warning fixes | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | master/apply_patch Successfully applied |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | fail | Test snowpatch/job/snowpatch-skiboot on branch master |
On 17/12/18 6:28 pm, Stewart Smith wrote: > Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Acked-by: Andrew Donnellan <andrew.donnellan@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, >
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,
Signed-off-by: Stewart Smith <stewart@linux.ibm.com> --- platforms/astbmc/zaius.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)