Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67421
b: refs/heads/master
c: 5f725fe
h: refs/heads/master
i:
  67419: 14334c1
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Paul Mackerras committed Oct 3, 2007
1 parent c24cb90 commit e77f05b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7472fd36a87e84c2819066543224285a6ab79ffc
refs/heads/master: 5f725fe92cc2e75892b237e863d5f695fb634bb2
14 changes: 12 additions & 2 deletions trunk/drivers/misc/hdpuftrs/hdpu_nexus.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,20 @@ static int hdpu_nexus_probe(struct platform_device *pdev)
}

hdpu_slot_id = create_proc_entry("sky_slot_id", 0666, &proc_root);
hdpu_slot_id->read_proc = hdpu_slot_id_read;
if (!hdpu_slot_id) {
printk(KERN_WARNING "sky_nexus: "
"Unable to create proc dir entry: sky_slot_id\n");
} else {
hdpu_slot_id->read_proc = hdpu_slot_id_read;
}

hdpu_chassis_id = create_proc_entry("sky_chassis_id", 0666, &proc_root);
hdpu_chassis_id->read_proc = hdpu_chassis_id_read;
if (!hdpu_chassis_id) {
printk(KERN_WARNING "sky_nexus: "
"Unable to create proc dir entry: sky_chassis_id\n");
} else {
hdpu_chassis_id->read_proc = hdpu_chassis_id_read;
}

return 0;
}
Expand Down

0 comments on commit e77f05b

Please sign in to comment.