]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/dpt_i2o.c
device create: scsi: convert device_create_drvdata to device_create
[linux-2.6-omap-h63xx.git] / drivers / scsi / dpt_i2o.c
index 1fe0901e81192d91dad44c4773908c1f6492d39a..8aba4fdfb5222b40d93a8e231fd1b69858ddecdc 100644 (file)
@@ -271,7 +271,7 @@ rebuild_sys_tab:
                pHba->initialized = TRUE;
                pHba->state &= ~DPTI_STATE_RESET;
                if (adpt_sysfs_class) {
-                       struct device *dev = device_create_drvdata(adpt_sysfs_class,
+                       struct device *dev = device_create(adpt_sysfs_class,
                                NULL, MKDEV(DPTI_I2O_MAJOR, pHba->unit), NULL,
                                "dpti%d", pHba->unit);
                        if (IS_ERR(dev)) {