projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b1e19
)
rt2x00: rt2x00_rev() should return u32
author
Ivo van Doorn
<ivdoorn@gmail.com>
Fri, 23 Jan 2009 16:03:06 +0000
(17:03 +0100)
committer
John 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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2x00.h
b/drivers/net/wireless/rt2x00/rt2x00.h
index 46918deceda13ccd1e30c14bb1e069a0c4a2b1c8..2a9909dd551ddccd9d5c33b517ce25fdae3ec036 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2x00.h
+++ b/
drivers/net/wireless/rt2x00/rt2x00.h
@@
-868,7
+868,7
@@
static inline char rt2x00_rf(const struct rt2x00_chip *chipset, const u16 chip)
return (chipset->rf == chip);
}
-static inline u
16
rt2x00_rev(const struct rt2x00_chip *chipset)
+static inline u
32
rt2x00_rev(const struct rt2x00_chip *chipset)
{
return chipset->rev;
}