OSDN Git Service

staging: comedi: ni_stc.h: Prefer kernel type 'u8' over 'uint8_t'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 11 Apr 2016 18:12:56 +0000 (11:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:14:20 +0000 (22:14 -0700)
Change the type to fix the checkpatch.pl issues.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_stc.h

index 8423dbc..e848697 100644 (file)
@@ -1032,7 +1032,7 @@ struct ni_private {
        unsigned short pwm_down_count;
 
        unsigned short ai_fifo_buffer[0x2000];
-       uint8_t eeprom_buffer[M_SERIES_EEPROM_SIZE];
+       u8 eeprom_buffer[M_SERIES_EEPROM_SIZE];
        __be32 serial_number;
 
        struct mite_struct *mite;