]> Git Repo - linux.git/blobdiff - drivers/net/wan/lapbether.c
selinux: Remove security_ops extern
[linux.git] / drivers / net / wan / lapbether.c
index a73b49eb87e37a150c6096299a08460ad921d32d..a33a46fa88dd0216871502622a0f06b976ac94d5 100644 (file)
@@ -370,7 +370,7 @@ static int lapbeth_device_event(struct notifier_block *this,
                                unsigned long event, void *ptr)
 {
        struct lapbethdev *lapbeth;
-       struct net_device *dev = ptr;
+       struct net_device *dev = netdev_notifier_info_to_dev(ptr);
 
        if (dev_net(dev) != &init_net)
                return NOTIFY_DONE;
This page took 0.032699 seconds and 4 git commands to generate.