]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/include/asm/bitops.h
Merge branch 'karo-tx-uboot' into kc-merge
[karo-tx-uboot.git] / arch / mips / include / asm / bitops.h
index 1c8f4c05003ba83ff0aacf66d94268d901dbf21a..b5c2a6367d913125d648ffeb605ed2198bd6b0b9 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <asm/sgidefs.h>
 #include <asm/system.h>
-#include <linux/config.h>
 
 /*
  * clear_bit() doesn't provide any barrier for the compiler.
@@ -566,7 +565,7 @@ static __inline__ int __test_and_change_bit(int nr, volatile void * addr)
  * @nr: bit number to test
  * @addr: Address to start counting from
  */
-static __inline__ int test_bit(int nr, volatile void *addr)
+static __inline__ int test_bit(int nr, const volatile void *addr)
 {
        return ((1UL << (nr & 31)) & (((const unsigned int *) addr)[nr >> 5])) != 0;
 }