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