]> git.sur5r.net Git - u-boot/blobdiff - include/linux/stddef.h
usb: Drop device-model specific copy of usb_legacy_port_reset
[u-boot] / 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