OpenCloudOS-Kernel/drivers/staging
Nathan Chancellor a89eeb9937 media: atomisp: Do not define input_system_cfg2400_t twice
When CONFIG_VIDEO_ATOMISP_ISP2401 is disabled, clang warns:

./drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:32:40:
error: redefinition of typedef 'input_system_cfg2400_t' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef struct input_system_cfg2400_s           input_system_cfg2400_t;
                                                ^
./drivers/staging/media/atomisp//pci/input_system_local.h:22:40: note:
previous definition is here
typedef struct input_system_cfg2400_s           input_system_cfg2400_t;
                                                ^
1 error generated.

input_system_cfg2400_t's typedef was copied from
isp2400_input_system_local.h to input_system_local.h, rather than moved.
Remove the one in isp2400_input_system_local.h so that there is no more
warning, which can break the build under -Werror.

Link: https://github.com/ClangBuiltLinux/linux/issues/1557

Link: https://lore.kernel.org/linux-media/20211227164243.2329724-1-nathan@kernel.org
Fixes: 4005ecee61 ("media: atomisp: shift some structs from input_system_local")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-01-10 15:54:13 +01:00
..
android staging: android: ashmem: add size field in procfs fdinfo 2021-06-18 13:02:40 +02:00
axis-fifo staging: axis-fifo: convert to use miscdevice 2021-09-13 08:49:53 +02:00
board staging: board: Fix uninitialized spinlock when attaching genpd 2021-07-21 11:22:15 +02:00
clocking-wizard clk: staging: correct reference to config IOMEM to config HAS_IOMEM 2021-08-17 20:03:00 +02:00
emxx_udc
fbtft staging/fbtft: Fix backlight 2021-11-15 10:21:48 +01:00
fieldbus staging: fieldbus: anybus: reframe comment to avoid warning 2021-10-30 11:12:17 +02:00
fwserial tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
gdm724x staging: use eth_hw_addr_set() in orphan drivers 2021-10-20 19:33:59 +02:00
greybus staging: greybus: Add missing rwsem around snd_ctl_remove() calls 2021-11-17 14:08:38 +01:00
gs_fpgaboot
iio staging: iio: ad9832: convert probe to device-managed 2021-10-17 11:05:54 +01:00
ks7010 staging: use eth_hw_addr_set() for dev->addr_len cases 2021-10-20 19:33:58 +02:00
media media: atomisp: Do not define input_system_cfg2400_t twice 2022-01-10 15:54:13 +01:00
most staging: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-20 19:33:58 +02:00
mt7621-dma staging/mt7621-dma: Format lines in "hsdma-mt7621.c" ending with an open parenthesis 2021-09-13 08:49:54 +02:00
mt7621-dts staging: mt7621-dts: add missing SPDX license to files 2021-10-25 12:06:26 +02:00
nvec
octeon Staging driver update for 5.16-rc1 2021-11-04 07:56:22 -07:00
octeon-usb
olpc_dcon kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
pi433 staging: pi433: goto abort when setting failed in tx_thread 2021-09-27 17:30:27 +02:00
qlge Staging driver update for 5.16-rc1 2021-11-04 07:56:22 -07:00
r8188eu staging: r8188eu: fix a memory leak in rtw_wx_read32() 2021-11-15 10:23:33 +01:00
ralink-gdma
rtl8192e staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect() 2021-11-17 14:08:57 +01:00
rtl8192u staging: rtl8192u: fix control-message timeouts 2021-10-26 18:44:38 +02:00
rtl8712 Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-11-10 16:15:54 -08:00
rtl8723bs Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-11-10 16:15:54 -08:00
rts5208 SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
sm750fb staging: sm750fb: Rename vScreen to v_screen in lynxfb_crtc 2021-07-28 20:17:26 +02:00
unisys SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
vc04_services staging: vchiq_core: get rid of typedef 2021-10-30 11:12:40 +02:00
vme
vt6655 staging: vt6655: Rename `dwAL7230InitTable` array 2021-10-26 18:45:09 +02:00
vt6656 staging: vt6656: Remove filenames in files 2021-08-28 08:33:33 +02:00
wfx staging: wfx: sta: Fix 'else' coding style warning 2021-09-17 16:23:42 +02:00
wlan-ng staging: use eth_hw_addr_set() in orphan drivers 2021-10-20 19:33:59 +02:00
Kconfig staging: Remove Netlogic XLP network driver 2021-11-15 10:24:42 +01:00
Makefile staging: Remove Netlogic XLP network driver 2021-11-15 10:24:42 +01:00