summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorFurong Xu <0x1207@gmail.com>2024-12-08 15:02:02 +0800
committerJakub Kicinski <kuba@kernel.org>2024-12-10 18:24:36 -0800
commit46afe345ff181e3b72830cb12f1e11cc837cc58e (patch)
tree7ec0f33ab2e438193d37a56558454a3b370bca84 /net/lapb
parent23c57f404bd03c0d7d6f5cb0d5258d2a1c157bcb (diff)
net: stmmac: Relocate extern declarations in common.h and hwif.h
The extern declarations should be in a header file that corresponds to their definition, move these extern declarations to its header file. Some of them have nowhere to go, so move them to hwif.h since they are referenced in hwif.c only. dwmac100_* dwmac1000_* dwmac4_* dwmac410_* dwmac510_* stay in hwif.h, otherwise you will be flooded with name conflicts from dwmac100.h, dwmac1000.h and dwmac4.h if hwif.c try to #include these .h files. Compile tested only. No functional change intended. Suggested-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Furong Xu <0x1207@gmail.com> Link: https://patch.msgid.link/20241208070202.203931-1-0x1207@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions