Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
#include <linux/tty.h>
#include <linux/netdevice.h>
#include <linux/poll.h>
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>
#include <linux/ppp_defs.h>
#include <linux/if_ppp.h>
#include <linux/ppp_channel.h>
#ifndef _PPP_DEFS_H_
#define _PPP_DEFS_H_
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>
/*
* The basic PPP frame.
#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.