diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index 56326f38fe8a..a022e930bd8e 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c @@ -39,6 +39,7 @@ #include #include +#include #include static const u8 bcast_addr[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; @@ -372,6 +373,7 @@ static void lapbeth_setup(struct net_device *dev) dev->hard_header_len = 0; dev->mtu = 1000; dev->addr_len = 0; + netdev_lockdep_set_classes(netdev); } /* Setup a new device.