]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/drivers/net_kern.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / arch / um / drivers / net_kern.c
index 434224e2229ff6afde1556b5541b83200466c99e..434ba121e3c59a30009117fd6f1c146f516270a6 100644 (file)
@@ -757,7 +757,7 @@ static int uml_inetaddr_event(struct notifier_block *this, unsigned long event,
        void (*proc)(unsigned char *, unsigned char *, void *);
        unsigned char addr_buf[4], netmask_buf[4];
 
-       if (dev->open != uml_net_open)
+       if (dev->netdev_ops->ndo_open != uml_net_open)
                return NOTIFY_DONE;
 
        lp = netdev_priv(dev);