]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/block/paride/pg.c
device create: block: convert device_create_drvdata to device_create
[linux-2.6-omap-h63xx.git] / drivers / block / paride / pg.c
index d731ca42f8024f48a12214b064ed5ff3d13b8543..9dfa27163001e9d31de36f5196be7db0f2334a2d 100644 (file)
@@ -686,9 +686,8 @@ static int __init pg_init(void)
        for (unit = 0; unit < PG_UNITS; unit++) {
                struct pg *dev = &devices[unit];
                if (dev->present)
-                       device_create_drvdata(pg_class, NULL,
-                                             MKDEV(major, unit), NULL,
-                                             "pg%u", unit);
+                       device_create(pg_class, NULL, MKDEV(major, unit), NULL,
+                                     "pg%u", unit);
        }
        err = 0;
        goto out;