]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ppp_generic.c
device create: net: convert device_create to device_create_drvdata
[linux-2.6-omap-h63xx.git] / drivers / net / ppp_generic.c
index 6b1d7a8edf1554aeff5680fd4f467f2444dce498..739b3ab7bccc2d9ea719c6080eb3137bf2ba2dbc 100644 (file)
@@ -866,7 +866,8 @@ static int __init ppp_init(void)
                        err = PTR_ERR(ppp_class);
                        goto out_chrdev;
                }
-               device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), "ppp");
+               device_create_drvdata(ppp_class, NULL, MKDEV(PPP_MAJOR, 0),
+                                     NULL, "ppp");
        }
 
 out: