net: korina: Make driver COMPILE_TESTable
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 18 Apr 2021 22:19:47 +0000 (00:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 22:58:14 +0000 (15:58 -0700)
commit6ef92063bf94cd8a6fa9fea3a82596955eb25424
tree70e2a259449295e8bf108bd55d8ec37c731046ac
parente4cd854ec487fde631fe57049f588d2396da281c
net: korina: Make driver COMPILE_TESTable

Move structs/defines for ethernet/dma register into driver, since they
are only used for this driver and remove any MIPS specific includes.
This makes it possible to COMPILE_TEST the driver.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/Kconfig
drivers/net/ethernet/korina.c