Browse Source

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>
Stefan Richter 19 years ago
parent
commit
b7cffc57a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/ieee1394/nodemgr.c

+ 1 - 1
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)