From: Masakazu Mokuno Date: Thu, 7 Feb 2008 10:57:41 +0000 (+0900) Subject: PS3: gelic: Fix the wrong dev_id passed X-Git-Tag: upstream/snapshot3+hdmi~26957^2~61^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b94e1d47684b0bee6088d848e29154697ea4c4bd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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: Masakazu Mokuno Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index 055af08..f6fb556 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c @@ -1512,7 +1512,7 @@ static int ps3_gelic_driver_probe (struct ps3_system_bus_device *dev) fail_setup_netdev: lv1_net_set_interrupt_status_indicator(bus_id(card), - bus_id(card), + dev_id(card), 0 , 0); fail_status_indicator: ps3_dma_region_free(dev->d_region);