]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/linux/stddef.h
mx31pdk: add CONFIG_SPL_LIBGENERIC_SUPPORT
[karo-tx-uboot.git] / include / linux / stddef.h
index 81e34c260fe62909235de29c3fe27c82f3a4e0f2..c540f6100d46d093a4f43848520453a4327bc406 100644 (file)
@@ -12,7 +12,9 @@
 #include <linux/types.h>
 #endif
 
+#ifndef __CHECKER__
 #undef offsetof
 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
+#endif
 
 #endif