Skip to content

Commit 514fdbd

Browse files
andy-shevgregkh
authored andcommitted
usb: fotg210: Use *-y instead of *-objs in Makefile
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now). Let's correct the old usages of *-objs in Makefiles. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 76d7570 commit 514fdbd

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

drivers/usb/fotg210/Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
# This setup links the different object files into one single
4-
# module so we don't have to EXPORT() a lot of internal symbols
5-
# or create unnecessary submodules.
6-
fotg210-objs-y += fotg210-core.o
7-
fotg210-objs-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
8-
fotg210-objs-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
9-
fotg210-objs := $(fotg210-objs-y)
103
obj-$(CONFIG_USB_FOTG210) += fotg210.o
4+
fotg210-y := fotg210-core.o
5+
fotg210-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
6+
fotg210-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o

0 commit comments

Comments
 (0)