net: altera_tse: factor out stop mac func
authorThomas Chou <thomas@wytron.com.tw>
Sun, 8 Nov 2015 02:57:05 +0000 (10:57 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 12 Nov 2015 00:26:59 +0000 (08:26 +0800)
commitacd71c320f917fbd3a2c4978117a2b586e245f42
tree7d594c8fd385b4dd68eced75374df0a38b3dbd41
parentde99a17c9a8df4c0b4c4f57b5bb266835cbb9fab
net: altera_tse: factor out stop mac func

Factor out the stop mac function to prepare msgdma support.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/net/altera_tse.c