]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: dsa: loop: Move data structures to header
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 3 Aug 2020 20:03:52 +0000 (13:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 01:19:23 +0000 (18:19 -0700)
commit6c84a589972f6458da3168a68e7d65f6ca8687f8
treea831c9ecddd0f3b5aa64566dffb01ce29f10a6fa
parent916a8d168e8aea52e6f7eb2e323d5dcbd5dc23d5
net: dsa: loop: Move data structures to header

In preparation for adding support for a mockup data path, move the
driver data structures to include/linux/dsa/loop.h such that we can
share them between net/dsa/ and drivers/net/dsa/ later on.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/dsa_loop.c
include/linux/dsa/loop.h [new file with mode: 0644]