]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-avr32/bitops.h
spi: make spi_board_info.modalias a char array
[linux-2.6-omap-h63xx.git] / include / asm-avr32 / bitops.h
index 5299f8c8e11dc71d99c068d66a2848fb1c73b7f3..1a50b69b1a192de23bd6bdf88881a5181082faeb 100644 (file)
@@ -8,6 +8,10 @@
 #ifndef __ASM_AVR32_BITOPS_H
 #define __ASM_AVR32_BITOPS_H
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <asm/byteorder.h>
 #include <asm/system.h>
 
@@ -288,6 +292,7 @@ static inline int ffs(unsigned long word)
 #include <asm-generic/bitops/fls64.h>
 #include <asm-generic/bitops/sched.h>
 #include <asm-generic/bitops/hweight.h>
+#include <asm-generic/bitops/lock.h>
 
 #include <asm-generic/bitops/ext2-non-atomic.h>
 #include <asm-generic/bitops/ext2-atomic.h>