diff options
| author | Mao Wenan <[email protected]> | 2019-10-26 02:07:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-10-29 23:15:45 +0000 |
| commit | 11dbb632a45a120ceb64f9f2a733992f947278c8 (patch) | |
| tree | 5ca81a10e78098d7255f62ea125f8250e7278ce4 /net/tipc/node.c | |
| parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirshe... (diff) | |
| download | kernel-11dbb632a45a120ceb64f9f2a733992f947278c8.tar.gz kernel-11dbb632a45a120ceb64f9f2a733992f947278c8.zip | |
net: aquantia: make two symbols be static
When using ARCH=mips CROSS_COMPILE=mips-linux-gnu-
to build drivers/net/ethernet/aquantia/atlantic/aq_ptp.o
and drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o,
below errors can be seen:
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c:1378:6:
warning: symbol 'aq_ptp_poll_sync_work_cb' was not declared.
Should it be static?
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:1155:5:
warning: symbol 'hw_atl_b0_ts_to_sys_clock' was not declared.
Should it be static?
This patch to make aq_ptp_poll_sync_work_cb and hw_atl_b0_ts_to_sys_clock
be static to fix these warnings.
Fixes: 9c477032f7d0 ("net: aquantia: add support for PIN funcs")
Signed-off-by: Mao Wenan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
