[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180411185147.GA48599@lkp-ivb-ep02>
Date: Thu, 12 Apr 2018 02:51:47 +0800
From: kbuild test robot <lkp@...el.com>
To: Raghuram Chary J <raghuramchary.jallipalli@...rochip.com>
Cc: kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
unglinuxdriver@...rochip.com, woojung.huh@...rochip.com,
raghuramchary.jallipalli@...rochip.com
Subject: [RFC PATCH] lan78xx: lan78xx_regs[] can be static
Fixes: 1373bfc60bd8 ("lan78xx: Add support to dump lan78xx registers")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
lan78xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c
index cbeec78..df5c3eb 100644
--- a/drivers/net/usb/lan78xx.c
+++ b/drivers/net/usb/lan78xx.c
@@ -278,7 +278,7 @@ struct lan78xx_statstage64 {
u64 eee_tx_lpi_time;
};
-u32 lan78xx_regs[] = {
+static u32 lan78xx_regs[] = {
ID_REV,
INT_STS,
HW_CFG,
Powered by blists - more mailing lists