Create class device with device_number information in sysfs.

This commit is contained in:
Florian Pose
2008-06-17 12:49:06 +00:00
parent 1553af9375
commit 25ffc9f638
3 changed files with 16 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ int __init ec_init_module(void)
for (i = 0; i < master_count; i++) {
if (ec_master_init(&masters[i], i, macs[i][0], macs[i][1],
device_number)) {
device_number, class)) {
ret = -ENOMEM;
goto out_free_masters;
}