Staging: bcm: Replace PUCHAR with u8 * in nmv.h
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 1 Dec 2012 06:15:50 +0000 (01:15 -0500)
committerGreg 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

index 9a45df15e573633242894b78efdd6a0e8c97056f..7aed26376d1bfed2b74677065b2121a3dbbe7212 100644 (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