From: Kevin McKinney <klmckinney1@gmail.com>
Date: Sat, 1 Dec 2012 06:15:50 +0000 (-0500)
Subject: Staging: bcm: Replace PUCHAR with u8 * in nmv.h
X-Git-Tag: firefly_0821_release~3680^2~1080^2~713
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=20a2ae8019080d6641fb409016b55e48e6773dcc;p=firefly-linux-kernel-4.4.55.git

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

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