summaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-avr32/bitops.h')
-rw-r--r--include/asm-avr32/bitops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-avr32/bitops.h b/include/asm-avr32/bitops.h
index f3faddfd46a8..1a50b69b1a19 100644
--- a/include/asm-avr32/bitops.h
+++ b/include/asm-avr32/bitops.h
@@ -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>