]> git.baikalelectronics.ru Git - 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)
commitce997488de13e63f43730951c90a18cafd98631c
treea831c9ecddd0f3b5aa64566dffb01ce29f10a6fa
parent910ef5b5a373be24fe4ee6c8f77a7590afcbd5ab
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]