]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/can/bcm.c
leds/acpi: Fix merge fallout from acpi_driver_data change
[linux-2.6-omap-h63xx.git] / net / can / bcm.c
index 72c2ce904f83ab9f92109e33c6ed34f947a80a73..d0dd382001e210c052e2fcb1ca6ae304d72b46a1 100644 (file)
@@ -1303,7 +1303,7 @@ static int bcm_notifier(struct notifier_block *nb, unsigned long msg,
        struct bcm_op *op;
        int notify_enodev = 0;
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                return NOTIFY_DONE;
 
        if (dev->type != ARPHRD_CAN)