projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ec04e
)
Staging: bcm: Replace PUCHAR with u8 * in nmv.h
author
Kevin McKinney
<klmckinney1@gmail.com>
Sat, 1 Dec 2012 06:15:50 +0000
(
01:15
-0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:45:50 +0000
(10:45 -0800)
This patch replaces "PUCHAR" with "u8 *" in
nvm.h.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/nvm.h
patch
|
blob
|
history
diff --git
a/drivers/staging/bcm/nvm.h
b/drivers/staging/bcm/nvm.h
index 9a45df15e573633242894b78efdd6a0e8c97056f..7aed26376d1bfed2b74677065b2121a3dbbe7212 100644
(file)
--- a/
drivers/staging/bcm/nvm.h
+++ b/
drivers/staging/bcm/nvm.h
@@
-285,7
+285,7
@@
typedef struct _ISO_HEADER {
#define SIGNATURE_SIZE 4
#define DEFAULT_BUFF_SIZE 0x10000
-#define FIELD_OFFSET_IN_HEADER(HeaderPointer, Field) ((
PUCHAR)&((HeaderPointer)(NULL))->Field - (PUCHAR
)(NULL))
+#define FIELD_OFFSET_IN_HEADER(HeaderPointer, Field) ((
u8 *)&((HeaderPointer)(NULL))->Field - (u8 *
)(NULL))
#endif