From: Kevin McKinney Date: Sat, 1 Dec 2012 06:15:50 +0000 (-0500) Subject: Staging: bcm: Replace PUCHAR with u8 * in nmv.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=20a2ae8019080d6641fb409016b55e48e6773dcc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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