projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5d8744
)
correct crc8 include file
author
Johannes Berg
<johannes@sipsolutions.net>
Wed, 3 Apr 2013 11:47:12 +0000
(13:47 +0200)
committer
Johannes 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
patch
|
blob
|
history
diff --git
a/backport/include/linux/crc8.h
b/backport/include/linux/crc8.h
index f0a92ef16a5c8c3d33d4bde2558d48ca24efd5fa..611ba0d43de091ef87d3a82e3145489bd81049b9 100644
(file)
--- 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 <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 */