Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[linux-2.6-block.git] / drivers / hwmon / ibmpex.c
index 537d9fb2ff88b2f046bc8f1f22d95e6e606d4987..a36363312f2ff5116ef5557ae19fe7176455b68a 100644 (file)
@@ -40,7 +40,7 @@
 
 static inline u16 extract_value(const char *data, int offset)
 {
-       return be16_to_cpup((u16 *)&data[offset]);
+       return be16_to_cpup((__be16 *)&data[offset]);
 }
 
 #define TEMP_SENSOR            1