mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 08:28:13 +00:00
5679ed9906
Instead of duplicating the common code into the 2 (binary) drivers, move the common code to a separate module. This is cleaner. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Eddie James <eajames@linux.ibm.com> Cc: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Eddie James <eajames@linux.ibm.com> Tested-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 lines
253 B
Makefile
7 lines
253 B
Makefile
occ-hwmon-common-objs := common.o sysfs.o
|
|
occ-p8-hwmon-objs := p8_i2c.o
|
|
occ-p9-hwmon-objs := p9_sbe.o
|
|
|
|
obj-$(CONFIG_SENSORS_OCC) += occ-hwmon-common.o
|
|
obj-$(CONFIG_SENSORS_OCC_P8_I2C) += occ-p8-hwmon.o
|
|
obj-$(CONFIG_SENSORS_OCC_P9_SBE) += occ-p9-hwmon.o
|