Staging: bcm: Replace PUCHAR with u8 * in nmv.h

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>
This commit is contained in:
Kevin McKinney
2012-12-01 01:15:50 -05:00
committed by Greg Kroah-Hartman
parent b5ec04ed75
commit 20a2ae8019

View File

@@ -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