ODROID: Fix compile error.

We are rebuilding kernel commits.
This commit is contained in:
Chris
2020-12-17 17:56:05 +09:00
parent 366ccec376
commit c46afcb6de
3 changed files with 2 additions and 9 deletions

View File

@@ -5728,11 +5728,6 @@ static int amhdmitx_get_dt_info(struct platform_device *pdev)
ret = of_property_read_u32(pdev->dev.of_node, "ic_type",
&(hdmitx_device.chip_type));
/* Get dongle_mode information */
ret = of_property_read_u32(pdev->dev.of_node, "dongle_mode",
&dongle_mode);
hdmitx_device.dongle_mode = !!dongle_mode;
ret = of_property_read_u32(pdev->dev.of_node,
"repeater_tx", &val);
if (!ret)

View File

@@ -275,6 +275,8 @@ static int amlogic_new_usb2_probe(struct platform_device *pdev)
struct resource *phy_cfg_mem[4];
void __iomem *phy_base;
void __iomem *reset_base = NULL;
const char *gpio_name = NULL;
struct gpio_desc *usb_gd = NULL;
void __iomem *phy_cfg_base[4] = {NULL, NULL, NULL, NULL};
int portnum = 0;
int phy_version = 0;

View File

@@ -508,10 +508,6 @@ static int amlogic_new_usb3_v2_probe(struct platform_device *pdev)
int ret;
struct device_node *tsi_pci;
u32 pwr_ctl = 0;
u32 u3_ctrl_sleep_shift = 0;
u32 u3_hhi_mem_pd_shift = 0;
u32 u3_hhi_mem_pd_mask = 0;
u32 u3_ctrl_iso_shift = 0;
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
struct gpio_desc *huben_gd = NULL;
struct gpio_desc *hubrst_gd = NULL;