X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=drivers%2Fusb%2Fphy%2Fphy.c;h=d1cd6b50f5204898f0ed11785eecc73d1d6f5ebd;hb=869aee0f31429fa9d94d5aef539602b73ae0cf4b;hp=2f9735b3533891c85dc907d8b1cc95a1e50d2559;hpb=cd07db5f2770cf7f96b0202ef93533c8a9eee09f;p=uclinux-h8%2Flinux.git diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c index 2f9735b35338..d1cd6b50f520 100644 --- a/drivers/usb/phy/phy.c +++ b/drivers/usb/phy/phy.c @@ -81,7 +81,9 @@ static void devm_usb_phy_release(struct device *dev, void *res) static int devm_usb_phy_match(struct device *dev, void *res, void *match_data) { - return res == match_data; + struct usb_phy **phy = res; + + return *phy == match_data; } /**