summaryrefslogtreecommitdiff
path: root/include/linux/ppp_defs.h
diff options
context:
space:
mode:
authorAndrey Panin <pazke@donpac.ru>2004-07-10 19:36:35 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-10 19:36:35 -0700
commitedd57a7600f9cc7b2f2b45bee76ec7c806f89ff3 (patch)
treeb73c0873f8eccadfa6c892dfbc3c3c8b99167788 /include/linux/ppp_defs.h
parent915c335ee6ee685ccb15fd5ca99846b77cbd16ff (diff)
[PATCH] CRC16 renaming in PPP driver
Signed-off-by: Andrey Panin <pazke@donpac.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/ppp_defs.h')
-rw-r--r--include/linux/ppp_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ppp_defs.h b/include/linux/ppp_defs.h
index 58c71466a726..402056cd049d 100644
--- a/include/linux/ppp_defs.h
+++ b/include/linux/ppp_defs.h
@@ -42,7 +42,7 @@
#ifndef _PPP_DEFS_H_
#define _PPP_DEFS_H_
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>
/*
* The basic PPP frame.
@@ -97,7 +97,7 @@
#define PPP_INITFCS 0xffff /* Initial FCS value */
#define PPP_GOODFCS 0xf0b8 /* Good final FCS value */
-#define PPP_FCS(fcs, c) crc16_byte(fcs, c)
+#define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c)
/*
* Extended asyncmap - allows any character to be escaped.