From 5e0db1ac52c1a1f8a00857f25085d676c74e282c Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 3 Apr 2013 13:47:12 +0200 Subject: [PATCH] correct crc8 include file Signed-off-by: Johannes Berg --- backport/include/linux/crc8.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backport/include/linux/crc8.h b/backport/include/linux/crc8.h index f0a92ef16a5c..611ba0d43de0 100644 --- a/backport/include/linux/crc8.h +++ b/backport/include/linux/crc8.h @@ -13,6 +13,10 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef CPTCFG_BACKPORT_BUILD_CRC8_MODULE +#include_next +#else + #ifndef __CRC8_H_ #define __CRC8_H_ @@ -102,3 +106,4 @@ void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial); u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc); #endif /* __CRC8_H_ */ +#endif /* BACKPORT_BUILD_CRC8_MODULE */ -- 2.30.2