aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch')
-rw-r--r--package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch15
1 files changed, 5 insertions, 10 deletions
diff --git a/package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch b/package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch
index a82886d234..65496ca467 100644
--- a/package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch
+++ b/package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch
@@ -21,11 +21,9 @@ Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
-diff --git a/drivers/net/wireless/ralink/rt2x00/rt2500usb.c b/drivers/net/wireless/ralink/rt2x00/rt2500usb.c
-index 62357465fe29..0d2670a56c4c 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2500usb.c
-@@ -55,7 +55,7 @@ MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption.");
+@@ -55,7 +55,7 @@ MODULE_PARM_DESC(nohwcrypt, "Disable har
* If the csr_mutex is already held then the _lock variants must
* be used instead.
*/
@@ -34,7 +32,7 @@ index 62357465fe29..0d2670a56c4c 100644
const unsigned int offset,
u16 *value)
{
-@@ -66,7 +66,7 @@ static inline void rt2500usb_register_read(struct rt2x00_dev *rt2x00dev,
+@@ -66,7 +66,7 @@ static inline void rt2500usb_register_re
*value = le16_to_cpu(reg);
}
@@ -43,7 +41,7 @@ index 62357465fe29..0d2670a56c4c 100644
const unsigned int offset,
u16 *value)
{
-@@ -77,16 +77,7 @@ static inline void rt2500usb_register_read_lock(struct rt2x00_dev *rt2x00dev,
+@@ -77,16 +77,7 @@ static inline void rt2500usb_register_re
*value = le16_to_cpu(reg);
}
@@ -61,7 +59,7 @@ index 62357465fe29..0d2670a56c4c 100644
const unsigned int offset,
u16 value)
{
-@@ -96,7 +87,7 @@ static inline void rt2500usb_register_write(struct rt2x00_dev *rt2x00dev,
+@@ -96,7 +87,7 @@ static inline void rt2500usb_register_wr
&reg, sizeof(reg));
}
@@ -70,7 +68,7 @@ index 62357465fe29..0d2670a56c4c 100644
const unsigned int offset,
u16 value)
{
-@@ -106,7 +97,7 @@ static inline void rt2500usb_register_write_lock(struct rt2x00_dev *rt2x00dev,
+@@ -106,7 +97,7 @@ static inline void rt2500usb_register_wr
&reg, sizeof(reg), REGISTER_TIMEOUT);
}
@@ -79,6 +77,3 @@ index 62357465fe29..0d2670a56c4c 100644
const unsigned int offset,
void *value, const u16 length)
{
---
-2.12.1
-