[RFC PATCH 1/4] hwmon: pmbus: Disable build of non-max31785 drivers

Andrew Jeffery
2017-07-10T13:57:03Z

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
Later patches make incompatible changes to struct pmbus_driver_info, so this
serves to keep the following patches buildable under otherwise incompatible
configurations. It is a junk patch that won't be present in a non-RFC series.

drivers/hwmon/pmbus/Makefile | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/hwmon/pmbus/Makefile b/drivers/hwmon/pmbus/Makefile
index 562132054aaf..24ff7ee7f8bb 100644
--- a/drivers/hwmon/pmbus/Makefile
+++ b/drivers/hwmon/pmbus/Makefile
@@ -4,15 +4,15 @@

obj-$(CONFIG_PMBUS) += pmbus_core.o
obj-$(CONFIG_SENSORS_PMBUS) += pmbus.o
-obj-$(CONFIG_SENSORS_ADM1275) += adm1275.o
-obj-$(CONFIG_SENSORS_LM25066) += lm25066.o
-obj-$(CONFIG_SENSORS_LTC2978) += ltc2978.o
-obj-$(CONFIG_SENSORS_LTC3815) += ltc3815.o
-obj-$(CONFIG_SENSORS_MAX16064) += max16064.o
-obj-$(CONFIG_SENSORS_MAX20751) += max20751.o
-obj-$(CONFIG_SENSORS_MAX34440) += max34440.o
-obj-$(CONFIG_SENSORS_MAX8688) += max8688.o
-obj-$(CONFIG_SENSORS_TPS40422) += tps40422.o
-obj-$(CONFIG_SENSORS_UCD9000) += ucd9000.o
-obj-$(CONFIG_SENSORS_UCD9200) += ucd9200.o
-obj-$(CONFIG_SENSORS_ZL6100) += zl6100.o
+# obj-$(CONFIG_SENSORS_ADM1275) += adm1275.o
+# obj-$(CONFIG_SENSORS_LM25066) += lm25066.o
+# obj-$(CONFIG_SENSORS_LTC2978) += ltc2978.o
+# obj-$(CONFIG_SENSORS_LTC3815) += ltc3815.o
+# obj-$(CONFIG_SENSORS_MAX16064) += max16064.o
+# obj-$(CONFIG_SENSORS_MAX20751) += max20751.o
+# obj-$(CONFIG_SENSORS_MAX34440) += max34440.o
+# obj-$(CONFIG_SENSORS_MAX8688) += max8688.o
+# obj-$(CONFIG_SENSORS_TPS40422) += tps40422.o
+# obj-$(CONFIG_SENSORS_UCD9000) += ucd9000.o
+# obj-$(CONFIG_SENSORS_UCD9200) += ucd9200.o
+# obj-$(CONFIG_SENSORS_ZL6100) += zl6100.o
--
2.11.0