ODROID-C3/N2: usb/phy: use 'CONFIG_ARCH_MESON64_ODROID_COMMON'

Change-Id: Ib78b7e773705e930f3493fa3b56be2617450d0f2
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
Dongjin Kim
2018-07-24 13:17:46 +09:00
committed by Kevin Kim
parent 0fe8dda40f
commit 87117e37fd

View File

@@ -491,7 +491,7 @@ static int amlogic_new_usb3_v2_probe(struct platform_device *pdev)
int otg = 0;
int ret;
struct device_node *tsi_pci;
#if defined(CONFIG_ARCH_MESON64_ODROIDC3)
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
struct gpio_desc *huben_gd = NULL;
struct gpio_desc *hubrst_gd = NULL;
#endif
@@ -505,7 +505,7 @@ static int amlogic_new_usb3_v2_probe(struct platform_device *pdev)
return -1;
}
#if defined(CONFIG_ARCH_MESON64_ODROIDC3)
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
gpio_name = of_get_property(dev->of_node, "hub-en", NULL);
if (gpio_name) {
huben_gd = gpiod_get_index(&pdev->dev,