diff options
-rw-r--r-- | drivers/firewire/fw-transaction.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c index 024d1f5537c5..058f5ed24390 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c | |||
@@ -955,19 +955,10 @@ static int __init fw_core_init(void) | |||
955 | return fw_cdev_major; | 955 | return fw_cdev_major; |
956 | } | 956 | } |
957 | 957 | ||
958 | retval = fw_core_add_address_handler(&topology_map, | 958 | fw_core_add_address_handler(&topology_map, &topology_map_region); |
959 | &topology_map_region); | 959 | fw_core_add_address_handler(®isters, ®isters_region); |
960 | BUG_ON(retval < 0); | 960 | fw_core_add_descriptor(&vendor_id_descriptor); |
961 | 961 | fw_core_add_descriptor(&model_id_descriptor); | |
962 | retval = fw_core_add_address_handler(®isters, | ||
963 | ®isters_region); | ||
964 | BUG_ON(retval < 0); | ||
965 | |||
966 | /* Add the vendor textual descriptor. */ | ||
967 | retval = fw_core_add_descriptor(&vendor_id_descriptor); | ||
968 | BUG_ON(retval < 0); | ||
969 | retval = fw_core_add_descriptor(&model_id_descriptor); | ||
970 | BUG_ON(retval < 0); | ||
971 | 962 | ||
972 | return 0; | 963 | return 0; |
973 | } | 964 | } |