rt2x00: rt2x00_rev() should return u32
authorIvo van Doorn <ivdoorn@gmail.com>
Fri, 23 Jan 2009 16:03:06 +0000 (17:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:26 +0000 (16:01 -0500)
The "rev" field in chipset definition is an u32,
which means that rt2x00_rev() which returns that field
should be of the same type.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h

index 46918deceda13ccd1e30c14bb1e069a0c4a2b1c8..2a9909dd551ddccd9d5c33b517ce25fdae3ec036 100644 (file)
@@ -868,7 +868,7 @@ static inline char rt2x00_rf(const struct rt2x00_chip *chipset, const u16 chip)
        return (chipset->rf == chip);
 }
 
-static inline u16 rt2x00_rev(const struct rt2x00_chip *chipset)
+static inline u32 rt2x00_rev(const struct rt2x00_chip *chipset)
 {
        return chipset->rev;
 }