vs4l: remove __u[32/16/8] and __s32 declarations
authorYaroslav Furman <yaro330@gmail.com>
Fri, 22 Jun 2018 18:10:23 +0000 (21:10 +0300)
committerMichael Benedict <michaelbt@live.com>
Sat, 31 Aug 2019 15:08:50 +0000 (01:08 +1000)
They are already defined. Fixes redefinition warnings.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
drivers/vision/include/vs4l.h

index 4373b351aecee622154cf4cba740f1b640265abe..ff29ad8011a8046b719d5729415276a5ac0a2892 100644 (file)
 #ifndef VISION_FOR_LINUX_H_
 #define VISION_FOR_LINUX_H_
 
-#ifndef __u32
-typedef unsigned int __u32;
-#endif
-
-#ifndef __u16
-typedef unsigned short __u16;
-#endif
-
-#ifndef __u8
-typedef unsigned char __u8;
-#endif
-
-#ifndef __s32
-typedef        int __s32;
-#endif
-
 #define VS4L_VERSION           5
 #define VS4L_TARGET_SC         0xFFFF
 #define VS4L_TARGET_SC_SHIFT   16