]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-s3c64xx/setup-usb-phy.c
Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~andy/linux] / arch / arm / mach-s3c64xx / setup-usb-phy.c
index c8174d95339b384e4c3584f9ca6a93ed0e3a4969..ca960bda02fdc00adde8bfeb0c9666166b1dfc8d 100644 (file)
@@ -76,7 +76,7 @@ static int s3c_usb_otgphy_exit(struct platform_device *pdev)
 
 int s5p_usb_phy_init(struct platform_device *pdev, int type)
 {
-       if (type == S5P_USB_PHY_DEVICE)
+       if (type == USB_PHY_TYPE_DEVICE)
                return s3c_usb_otgphy_init(pdev);
 
        return -EINVAL;
@@ -84,7 +84,7 @@ int s5p_usb_phy_init(struct platform_device *pdev, int type)
 
 int s5p_usb_phy_exit(struct platform_device *pdev, int type)
 {
-       if (type == S5P_USB_PHY_DEVICE)
+       if (type == USB_PHY_TYPE_DEVICE)
                return s3c_usb_otgphy_exit(pdev);
 
        return -EINVAL;