aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2023-05-23 15:16:00 +0000
committerHans Verkuil <[email protected]>2023-05-25 14:21:21 +0000
commit72a6127e9305ccf517ca962533c90c75bac39a57 (patch)
treec7274738fd9af5287fc9a0d66d997bd82f99ee3b /drivers/media/i2c/ccs/ccs-core.c
parentmedia: nxp: remove unneeded semicolon (diff)
downloadkernel-72a6127e9305ccf517ca962533c90c75bac39a57.tar.gz
kernel-72a6127e9305ccf517ca962533c90c75bac39a57.zip
media: Add common header file with JPEG marker definitions
When compile-testing on mips/RB532 with W=1: arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition 13 | #define RST (1 << 15) | drivers/media/platform/mediatek/jpeg/mtk_jpeg_dec_parse.c:15: warning: "RST" redefined 15 | #define RST 0xd0 | drivers/media/platform/renesas/rcar_jpu.c:77: warning: "RST" redefined 77 | #define RST 0xd0 | "RST" is indeed a name too short to be conflict-free. Fix this by creating a common <media/jpeg.h> header file, containing definitions for all JPEG markers used, prefixed by "JPEG_MARKER_", based on the existing private definitions in the Samsung S5P JPEG driver, and convert all affected drivers. Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Andrzej Pietrasiewicz <[email protected]> (s5p-jpeg) Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions