aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-transaction.c')
-rw-r--r--drivers/firewire/fw-transaction.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c
index 058f5ed2439..e17ebc42f12 100644
--- a/drivers/firewire/fw-transaction.c
+++ b/drivers/firewire/fw-transaction.c
@@ -943,11 +943,11 @@ static struct fw_descriptor model_id_descriptor = {
943 943
944static int __init fw_core_init(void) 944static int __init fw_core_init(void)
945{ 945{
946 int retval; 946 int ret;
947 947
948 retval = bus_register(&fw_bus_type); 948 ret = bus_register(&fw_bus_type);
949 if (retval < 0) 949 if (ret < 0)
950 return retval; 950 return ret;
951 951
952 fw_cdev_major = register_chrdev(0, "firewire", &fw_device_ops); 952 fw_cdev_major = register_chrdev(0, "firewire", &fw_device_ops);
953 if (fw_cdev_major < 0) { 953 if (fw_cdev_major < 0) {