Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40936
b: refs/heads/master
c: b48f545
h: refs/heads/master
v: v3
  • Loading branch information
Zhang, Yanmin authored and Linus Torvalds committed Nov 16, 2006
1 parent ca6adf7 commit 40dd0e6
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 44597f65f6af3c692560a639f61d25398d13d1b6
refs/heads/master: b48f5457b4e9d64d9c1117a4ece247d98b4db49f
2 changes: 1 addition & 1 deletion trunk/drivers/char/ipmi/ipmi_msghandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ static int ipmi_bmc_register(ipmi_smi_t intf)
dev_set_drvdata(&bmc->dev->dev, bmc);
kref_init(&bmc->refcount);

rv = platform_device_register(bmc->dev);
rv = platform_device_add(bmc->dev);
mutex_unlock(&ipmidriver_mutex);
if (rv) {
printk(KERN_ERR
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2346,7 +2346,7 @@ static int try_smi_init(struct smi_info *new_smi)
new_smi->dev = &new_smi->pdev->dev;
new_smi->dev->driver = &ipmi_driver;

rv = platform_device_register(new_smi->pdev);
rv = platform_device_add(new_smi->pdev);
if (rv) {
printk(KERN_ERR
"ipmi_si_intf:"
Expand Down

0 comments on commit 40dd0e6

Please sign in to comment.