aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp_generic.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 20:03:34 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 09:24:43 -0700
commit6e05d6c4676408b46b01eef29fd472b89ba1f98a (patch)
treeadf651cd167c9cdb8f177dcb78961dfeb2ef6ec1 /drivers/net/ppp_generic.c
parenta9b12619f7b6f19c871437ec24a088787a04b1de (diff)
downloadkernel_samsung_tuna-6e05d6c4676408b46b01eef29fd472b89ba1f98a.zip
kernel_samsung_tuna-6e05d6c4676408b46b01eef29fd472b89ba1f98a.tar.gz
kernel_samsung_tuna-6e05d6c4676408b46b01eef29fd472b89ba1f98a.tar.bz2
device create: net: convert device_create_drvdata to device_create
Now that device_create() has been audited, rename things back to the original call to be sane. Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/ppp_generic.c')
-rw-r--r--drivers/net/ppp_generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
index 0ca0fcb..03d027c 100644
--- a/drivers/net/ppp_generic.c
+++ b/drivers/net/ppp_generic.c
@@ -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: