Message ID | 20181217072810.30160-3-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/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, >
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,
Signed-off-by: Stewart Smith <stewart@linux.ibm.com> --- platforms/ibm-fsp/zz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)