]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: Create helper to set MPD
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 3 Aug 2018 18:08:44 +0000 (11:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Aug 2018 19:11:43 +0000 (12:11 -0700)
commitc67daaf15858bd4b765d0e4fd6578c63b35c0d35
treec150ad21f083744ab24abba28f44dcd9c477c907
parent13d485de6242c82ac0f18b8efc98c13f3270c453
net: systemport: Create helper to set MPD

Create a helper function to turn on/off MPD, this will be used to avoid
duplicating code as we are going to add additional types of wake-up
types.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c