mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 07:04:10 +08:00
net: aquantia: Make aq_ndev_driver_name static
Fix sparse warning: drivers/net/ethernet/aquantia/atlantic/aq_main.c:26:12: warning: symbol 'aq_ndev_driver_name' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
69bbbdc5e1
commit
44bec4b3bd
@ -23,7 +23,7 @@ MODULE_VERSION(AQ_CFG_DRV_VERSION);
|
||||
MODULE_AUTHOR(AQ_CFG_DRV_AUTHOR);
|
||||
MODULE_DESCRIPTION(AQ_CFG_DRV_DESC);
|
||||
|
||||
const char aq_ndev_driver_name[] = AQ_CFG_DRV_NAME;
|
||||
static const char aq_ndev_driver_name[] = AQ_CFG_DRV_NAME;
|
||||
|
||||
static const struct net_device_ops aq_ndev_ops;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user