rt2x00: rt2x00_rev() should return u32

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>
This commit is contained in:
Ivo van Doorn 2009-01-23 17:03:06 +01:00 committed by John W. Linville
parent 81b1e19ac2
commit 6ba265e9cc
1 changed files with 1 additions and 1 deletions

View 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;
}