Commit b94e1d47 authored by Masakazu Mokuno's avatar Masakazu Mokuno Committed by Jeff Garzik

PS3: gelic: Fix the wrong dev_id passed

The device id for lv1_net_set_interrupt_status_indicator() is wrong.
This path would be invoked only in the case of an initialization failure.
Signed-off-by: default avatarMasakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 2192f395
...@@ -1512,7 +1512,7 @@ static int ps3_gelic_driver_probe (struct ps3_system_bus_device *dev) ...@@ -1512,7 +1512,7 @@ static int ps3_gelic_driver_probe (struct ps3_system_bus_device *dev)
fail_setup_netdev: fail_setup_netdev:
lv1_net_set_interrupt_status_indicator(bus_id(card), lv1_net_set_interrupt_status_indicator(bus_id(card),
bus_id(card), dev_id(card),
0 , 0); 0 , 0);
fail_status_indicator: fail_status_indicator:
ps3_dma_region_free(dev->d_region); ps3_dma_region_free(dev->d_region);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment