]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/sibyte/common/sb_tbprof.c
device create: misc: convert device_create_drvdata to device_create
[linux-2.6-omap-h63xx.git] / arch / mips / sibyte / common / sb_tbprof.c
index 66e3e3fb311f9a413ffb3dbc58aa9174fe101fe5..637a194e5cd5f95e0ee2de2687ddbab05ac45cec 100644 (file)
@@ -576,8 +576,7 @@ static int __init sbprof_tb_init(void)
 
        tb_class = tbc;
 
-       dev = device_create_drvdata(tbc, NULL, MKDEV(SBPROF_TB_MAJOR, 0),
-                                   NULL, "tb");
+       dev = device_create(tbc, NULL, MKDEV(SBPROF_TB_MAJOR, 0), NULL, "tb");
        if (IS_ERR(dev)) {
                err = PTR_ERR(dev);
                goto out_class;