]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
i2c: Use *-y instead of *-objs in Makefile
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2024 15:03:37 +0000 (18:03 +0300)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 4 Nov 2024 11:01:51 +0000 (13:01 +0200)
*-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>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/Makefile

index f12d6b10a85e94ab7ae4961412de975e7f433aeb..af95d6e7f00438b64a5deea72e2d66757b8c5ffd 100644 (file)
@@ -5,7 +5,7 @@
 
 obj-$(CONFIG_I2C_BOARDINFO)    += i2c-boardinfo.o
 obj-$(CONFIG_I2C)              += i2c-core.o
-i2c-core-objs                  := i2c-core-base.o i2c-core-smbus.o
+i2c-core-y                     := i2c-core-base.o i2c-core-smbus.o
 i2c-core-$(CONFIG_ACPI)                += i2c-core-acpi.o
 i2c-core-$(CONFIG_I2C_SLAVE)   += i2c-core-slave.o
 i2c-core-$(CONFIG_OF)          += i2c-core-of.o