]> err.no Git - linux-2.6/blobdiff - drivers/net/ppp_generic.c
V4L/DVB (8475): pvrusb2: Cosmetic macro fix (benign)
[linux-2.6] / 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: