From 20a2ae8019080d6641fb409016b55e48e6773dcc Mon Sep 17 00:00:00 2001 From: Kevin McKinney Date: Sat, 1 Dec 2012 01:15:50 -0500 Subject: [PATCH] Staging: bcm: Replace PUCHAR with u8 * in nmv.h This patch replaces "PUCHAR" with "u8 *" in nvm.h. Signed-off-by: Kevin McKinney Signed-off-by: Greg Kroah-Hartman --- drivers/staging/bcm/nvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/nvm.h b/drivers/staging/bcm/nvm.h index 9a45df15e573..7aed26376d1b 100644 --- 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 -- 2.20.1