projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d44661
)
staging: brcm80211: OSLREGOPS is unused, remove checks for it.
author
Brett Rudley
<brudley@broadcom.com>
Sat, 4 Dec 2010 00:30:36 +0000
(16:30 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 7 Dec 2010 00:07:08 +0000
(16:07 -0800)
Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/include/osl.h
patch
|
blob
|
history
diff --git
a/drivers/staging/brcm80211/include/osl.h
b/drivers/staging/brcm80211/include/osl.h
index
2368c80
..
b543bbb
100644
(file)
--- a/
drivers/staging/brcm80211/include/osl.h
+++ b/
drivers/staging/brcm80211/include/osl.h
@@
-128,8
+128,6
@@
extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size,
#define bcopy(src, dst, len) memcpy((dst), (src), (len))
/* register access macros */
-#if defined(OSLREGOPS)
-#else
#ifndef IL_BIGENDIAN
#ifndef __mips__
#define R_REG(osh, r) (\
@@
-220,8
+218,6
@@
extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size,
} while (0)
#endif /* IL_BIGENDIAN */
-#endif /* OSLREGOPS */
-
#define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v))
#define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v))