[PATCH] m68knommu: change addr arg to const in bitops.h/find_next_zero_bit()
[pandora-kernel.git] / include / asm-m68knommu / bitops.h
index f95e32b..c42f88a 100644 (file)
@@ -259,7 +259,7 @@ static __inline__ int __test_bit(int nr, const volatile unsigned long * addr)
 #define find_first_bit(addr, size) \
         find_next_bit((addr), (size), 0)
 
-static __inline__ int find_next_zero_bit (void * addr, int size, int offset)
+static __inline__ int find_next_zero_bit (const void * addr, int size, int offset)
 {
        unsigned long *p = ((unsigned long *) addr) + (offset >> 5);
        unsigned long result = offset & ~31UL;