linux/drivers/net/dsa/microchip
Tristram Ha 284fb78ed7 net: dsa: microchip: initialize mutex before use
Initialize mutex before use.  Avoid kernel complaint when
CONFIG_DEBUG_LOCK_ALLOC is enabled.

Fixes: b987e98e50 ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-02 23:56:34 -07:00
..
Kconfig
Makefile
ksz_9477_reg.h
ksz_common.c net: dsa: microchip: initialize mutex before use 2018-11-02 23:56:34 -07:00
ksz_priv.h
ksz_spi.c net: dsa: add support for ksz9897 ethernet switch 2018-08-16 12:24:55 -07:00