Commit 600a7771 authored by Ben Marsh's avatar Ben Marsh Committed by Greg Kroah-Hartman

Staging: gs_fpgaboot: fix data types in gs_fpgaboot.c

This is a patch to gs_fpgaboot.c to convert data types to kernel types
as identified by checkpatch.pl.
Signed-off-by: default avatarBen Marsh <bmarsh94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6172624a
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#define DEVICE_NAME "device" #define DEVICE_NAME "device"
#define CLASS_NAME "fpgaboot" #define CLASS_NAME "fpgaboot"
static uint8_t bits_magic[] = { static u8 bits_magic[] = {
0x0, 0x9, 0xf, 0xf0, 0xf, 0xf0, 0x0, 0x9, 0xf, 0xf0, 0xf, 0xf0,
0xf, 0xf0, 0xf, 0xf0, 0x0, 0x0, 0x1}; 0xf, 0xf0, 0xf, 0xf0, 0x0, 0x0, 0x1};
...@@ -54,7 +54,7 @@ static void read_bitstream(char *bitdata, char *buf, int *offset, int rdsize) ...@@ -54,7 +54,7 @@ static void read_bitstream(char *bitdata, char *buf, int *offset, int rdsize)
static void readinfo_bitstream(char *bitdata, char *buf, int *offset) static void readinfo_bitstream(char *bitdata, char *buf, int *offset)
{ {
char tbuf[64]; char tbuf[64];
int32_t len; s32 len;
/* read section char */ /* read section char */
read_bitstream(bitdata, tbuf, offset, 1); read_bitstream(bitdata, tbuf, offset, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment