From: Stefan Richter Date: Fri, 20 Oct 2006 23:22:36 +0000 (+0200) Subject: ieee1394: nodemgr: small fix after sysfs errors patch X-Git-Tag: v2.6.20-rc1~34^2~412^2^2~42 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b7cffc57a777722941cfd904fcdbb47fc615b808;p=linux-2.6-omap-h63xx.git ieee1394: nodemgr: small fix after sysfs errors patch One hunk in "ieee1394: handle sysfs errors" was wrong. Signed-off-by: Stefan Richter --- 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)