mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
31e7f6c015
This patch prepares onboad_hub to support non-hub devices by renaming the driver files and their content, the headers and their references. The comments and descriptions have been slightly modified to keep coherence and account for the specific cases that only affect onboard hubs (e.g. peer-hub). The "hub" variables in functions where "dev" (and similar names) variables already exist have been renamed to onboard_dev for clarity, which adds a few lines in cases where more than 80 characters are used. No new functionality has been added. Acked-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> Link: https://lore.kernel.org/r/20240325-onboard_xvf3500-v8-2-29e3f9222922@wolfvision.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 lines
569 B
Makefile
22 lines
569 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for USB Core files and filesystem
|
|
#
|
|
|
|
usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
|
|
usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
|
|
usbcore-y += devio.o notify.o generic.o quirks.o devices.o
|
|
usbcore-y += phy.o port.o
|
|
|
|
usbcore-$(CONFIG_OF) += of.o
|
|
usbcore-$(CONFIG_USB_PCI) += hcd-pci.o
|
|
usbcore-$(CONFIG_ACPI) += usb-acpi.o
|
|
|
|
ifdef CONFIG_USB_ONBOARD_DEV
|
|
usbcore-y += ../misc/onboard_usb_dev_pdevs.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB) += usbcore.o
|
|
|
|
obj-$(CONFIG_USB_LEDS_TRIGGER_USBPORT) += ledtrig-usbport.o
|