ACPI: Ignore AE_NOT_FOUND error of EC _REG method and continue to initialize EC
[linux-2.6] / drivers / char / snsc.c
index 0b799ac..3ce60df 100644 (file)
@@ -444,7 +444,8 @@ scdrv_init(void)
                                continue;
                        }
 
-                       device_create(snsc_class, NULL, dev, "%s", devname);
+                       device_create_drvdata(snsc_class, NULL, dev, NULL,
+                                             "%s", devname);
 
                        ia64_sn_irtr_intr_enable(scd->scd_nasid,
                                                 0 /*ignored */ ,