[PATCH 02/23] imx-usb-loader: this table is used internally only, so keep it static

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 16 02:50:47 PST 2017


From: Juergen Borleis <jbe at pengutronix.de>

---
 scripts/imx/imx-usb-loader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index dfeef9e2c..ebffeddae 100644
--- a/scripts/imx/imx-usb-loader.c
+++ b/scripts/imx/imx-usb-loader.c
@@ -76,7 +76,7 @@ struct usb_id {
 	struct usb_work *work;
 };
 
-const struct mach_id imx_ids[] = {
+static const struct mach_id imx_ids[] = {
 	{
 		.vid = 0x066f,
 		.pid = 0x3780,
-- 
2.11.0




More information about the barebox mailing list