Skip to content

Commit

Permalink
Staging: bcm: Replace PUCHAR with u8 * in nmv.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent b5ec04e commit 20a2ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/bcm/nvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 20a2ae8

Please sign in to comment.