summaryrefslogtreecommitdiff
path: root/drivers/misc/amd-sbi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/amd-sbi/Makefile')
-rw-r--r--drivers/misc/amd-sbi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/amd-sbi/Makefile b/drivers/misc/amd-sbi/Makefile
new file mode 100644
index 000000000000..38eaaa651fd9
--- /dev/null
+++ b/drivers/misc/amd-sbi/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+sbrmi-i2c-objs += rmi-i2c.o rmi-core.o
+sbrmi-i2c-$(CONFIG_AMD_SBRMI_HWMON) += rmi-hwmon.o
+obj-$(CONFIG_AMD_SBRMI_I2C) += sbrmi-i2c.o