summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2005-08-17 15:17:26 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 14:41:27 -0700
commit7657ec1fcb69e266ab876af56332d0c484ca6d00 (patch)
tree6118ceffa2f83f43c3086941d96011dc1abeb459 /lib/Makefile
parenta3d65f254274567daa89d8b99ab3d481d60fcaef (diff)
downloadlinux-7657ec1fcb69e266ab876af56332d0c484ca6d00.tar.gz
linux-7657ec1fcb69e266ab876af56332d0c484ca6d00.tar.bz2
linux-7657ec1fcb69e266ab876af56332d0c484ca6d00.zip
[PATCH] lib/crc16: added crc16 algorithm.
Add the crc16 routines, as used by w1 devices. Signed-off-by: Ben Gardner <bgardner@wabtec.com> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 3e2bd0df23bb..d9c38ba05e7b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -23,11 +23,12 @@ lib-$(CONFIG_GENERIC_FIND_NEXT_BIT) += find_next_bit.o
obj-$(CONFIG_LOCK_KERNEL) += kernel_lock.o
obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o
-ifneq ($(CONFIG_HAVE_DEC_LOCK),y)
+ifneq ($(CONFIG_HAVE_DEC_LOCK),y)
lib-y += dec_and_lock.o
endif
obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o
+obj-$(CONFIG_CRC16) += crc16.o
obj-$(CONFIG_CRC32) += crc32.o
obj-$(CONFIG_LIBCRC32C) += libcrc32c.o
obj-$(CONFIG_GENERIC_IOMAP) += iomap.o