Skip to content

Commit 6fc0ce1

Browse files
andy-shevWolfram Sang
authored andcommitted
i2c: 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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
1 parent 3b2af08 commit 6fc0ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
77
obj-$(CONFIG_I2C) += i2c-core.o
8-
i2c-core-objs := i2c-core-base.o i2c-core-smbus.o
8+
i2c-core-y := i2c-core-base.o i2c-core-smbus.o
99
i2c-core-$(CONFIG_ACPI) += i2c-core-acpi.o
1010
i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
1111
i2c-core-$(CONFIG_OF) += i2c-core-of.o

0 commit comments

Comments
 (0)