Don't include linux/bitops.h header in ASM code
authorPiotr Dymacz <pepe2k@gmail.com>
Sun, 15 Nov 2015 23:11:24 +0000 (00:11 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 15 Nov 2015 23:11:24 +0000 (00:11 +0100)
u-boot/include/soc/soc_common.h

index ec6aeccc3c402ec6a9780c68bdc45779701efe30..6dfea09365e7ecef76d7bc44f6ff654f226978d8 100644 (file)
@@ -9,7 +9,9 @@
 #ifndef _SOC_COMMON_H_
 #define _SOC_COMMON_H_
 
+#ifndef __ASSEMBLY__
 #include <linux/bitops.h>
+#endif /* !__ASSEMBLY__ */
 
 #ifndef SOC_TYPE
        #error "SOC_TYPE is not defined!"