nv_device isn't used outside of common/globalvar.c so make it static. Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- common/globalvar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/globalvar.c b/common/globalvar.c index 32ca6a24db..ebc5e830d2 100644 --- a/common/globalvar.c +++ b/common/globalvar.c @@ -19,7 +19,7 @@ struct device_d global_device = { .id = DEVICE_ID_SINGLE, }; -struct device_d nv_device = { +static struct device_d nv_device = { .name = "nv", .id = DEVICE_ID_SINGLE, }; -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox