aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-10-21 01:22:36 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2006-12-07 21:31:51 +0100
commitb7cffc57a777722941cfd904fcdbb47fc615b808 (patch)
treeedb3c57600dc1b4903a093bb9c9d3f364ef9b1ef
parent7b900c12cd689e4372afe3904a03f98253546449 (diff)
ieee1394: nodemgr: small fix after sysfs errors patch
One hunk in "ieee1394: handle sysfs errors" was wrong. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-rw-r--r--drivers/ieee1394/nodemgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c
index e95fe400e04..b79ff695ca3 100644
--- a/drivers/ieee1394/nodemgr.c
+++ b/drivers/ieee1394/nodemgr.c
@@ -1233,7 +1233,7 @@ int hpsb_register_protocol(struct hpsb_protocol_driver *driver)
if (!ret)
nodemgr_create_drv_files(driver);
- return 0;
+ return ret;
}
void hpsb_unregister_protocol(struct hpsb_protocol_driver *driver)