Skip to content

Commit

Permalink
usb: fotg210: Use *-y instead of *-objs in Makefile
Browse files Browse the repository at this point in the history
*-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]>
  • Loading branch information
andy-shev authored and gregkh committed May 10, 2024
1 parent 76d7570 commit 514fdbd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions drivers/usb/fotg210/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# SPDX-License-Identifier: GPL-2.0

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

0 comments on commit 514fdbd

Please sign in to comment.