[PATCH] w1_ds2433: Added crc16 protection and read caching.
[linux-2.6.git] / drivers / w1 / Makefile
index d894a9896b18f6a246cc448cafe638d963439cd8..01fb54391470e78cc60959028528d3a7ac2b2971 100644 (file)
@@ -6,6 +6,10 @@ ifneq ($(CONFIG_NET), y)
 EXTRA_CFLAGS   += -DNETLINK_DISABLED
 endif
 
+ifeq ($(CONFIG_W1_DS2433_CRC), y)
+EXTRA_CFLAGS   += -DCONFIG_W1_F23_CRC
+endif
+
 obj-$(CONFIG_W1)       += wire.o
 wire-objs              := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o
 
@@ -13,7 +17,7 @@ obj-$(CONFIG_W1_MATROX)               += matrox_w1.o
 obj-$(CONFIG_W1_THERM)         += w1_therm.o
 obj-$(CONFIG_W1_SMEM)          += w1_smem.o
 
-obj-$(CONFIG_W1_DS9490)                += ds9490r.o 
+obj-$(CONFIG_W1_DS9490)                += ds9490r.o
 ds9490r-objs    := dscore.o
 
 obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o