usb: fotg210: Use *-y instead of *-objs in Makefile
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 May 2024 15:04:06 +0000 (18:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 May 2024 09:36:35 +0000 (10:36 +0100)
*-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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240508150406.1378672-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/fotg210/Makefile

index 5aecff21f24b8032de6f84ac3294817860c99d65..8f5b0fb9b98839c59c542a711d51bfc2800eb9d8 100644 (file)
@@ -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