correct crc8 include file
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 3 Apr 2013 11:47:12 +0000 (13:47 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Wed, 3 Apr 2013 11:54:34 +0000 (13:54 +0200)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
backport/include/linux/crc8.h

index f0a92ef16a5c8c3d33d4bde2558d48ca24efd5fa..611ba0d43de091ef87d3a82e3145489bd81049b9 100644 (file)
  * 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 <linux/crc8.h>
+#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 */