mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
usb: dwc3: meson-gxl: drop usb-gx.h and make dwc3_meson_gxl_force_mode static
Drop this useless usb-gx.h and now make dwc3_meson_gxl_force_mode static since only used in the dwc3-meson-gxl.c file. Reviewed-by: Marek Vasut <marex@denx.de> Link: https://lore.kernel.org/r/20240620-u-boot-usb-gxl-phy-set-mode-v2-4-b81c027bc02c@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
parent
affb461d9a
commit
98ce6d3e32
@ -1,14 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright 2019 BayLibre SAS
|
||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||
*/
|
||||
#ifndef _ARCH_MESON_USB_GX_H_
|
||||
#define _ARCH_MESON_USB_GX_H_
|
||||
|
||||
#include <generic-phy.h>
|
||||
#include <linux/usb/otg.h>
|
||||
|
||||
int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode);
|
||||
|
||||
#endif
|
||||
@ -26,7 +26,6 @@
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/compat.h>
|
||||
#include <asm/arch/usb-gx.h>
|
||||
|
||||
/* USB Glue Control Registers */
|
||||
|
||||
@ -193,7 +192,7 @@ static int dwc3_meson_gxl_usb_init(struct dwc3_meson_gxl *priv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode)
|
||||
static int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode)
|
||||
{
|
||||
struct dwc3_meson_gxl *priv = dev_get_plat(dev);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user