mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user