u-boot/drivers/video
Masahiro Yamada b41411954d linux/kernel.h: sync min, max, min3, max3 macros with Linux
U-Boot has never cared about the type when we get max/min of two
values, but Linux Kernel does.  This commit gets min, max, min3, max3
macros synced with the kernel introducing type checks.

Many of references of those macros must be fixed to suppress warnings.
We have two options:
 - Use min, max, min3, max3 only when the arguments have the same type
   (or add casts to the arguments)
 - Use min_t/max_t instead with the appropriate type for the first
   argument

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
[trini: Fixup arch/blackfin/lib/string.c]
Signed-off-by: Tom Rini <trini@ti.com>
2014-11-23 06:48:30 -05:00
..
am335x-fb.c video: Add support for TI's AM335x LCD-Controller 2014-08-10 15:34:27 +02:00
am335x-fb.h video: Add support for TI's AM335x LCD-Controller 2014-08-10 15:34:27 +02:00
ati_ids.h drivers/video : move video drivers to drivers/video 2007-11-25 18:35:11 +01:00
ati_radeon_fb.c include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
ati_radeon_fb.h Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
atmel_hlcdfb.c video: atmel_hlcdfb: enable dcache support 2014-06-14 18:07:02 +02:00
atmel_lcdfb.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
bcm2835.c video: bcm2835: respect the pitch value 2013-11-12 09:35:40 +01:00
bus_vcxk.c video: remove AT91 legacy API from bus_vcxk 2013-11-13 22:13:10 +01:00
cfb_console.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
coreboot_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ct69000.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
da8xx-fb.c video, da8xx-fb: show fb addr in bdinfo 2013-08-10 10:47:48 +02:00
da8xx-fb.h video, da8xx-fb: changes for am335x usage 2013-08-10 10:38:28 +02:00
exynos_dp.c lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
exynos_dp_lowlevel.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_dp_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fb.c video: use __weak 2014-10-25 07:02:00 -04:00
exynos_fb.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fimd.c video: exynos_fimd: Add framework to disable FIMD sysmmu 2014-09-05 20:37:07 +09:00
exynos_mipi_dsi.c lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
exynos_mipi_dsi_common.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_common.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_pwm_bl.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
formike.c video, formike: change tag/val write 2013-10-30 10:48:41 +01:00
fsl_dcu_fb.c video: dcu: Add DCU driver support 2014-09-08 10:30:35 -07:00
fsl_diu_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
imx25lcdc.c video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
ipu.h video: ipu_disp: wait for DP SF end irq when disabling sync BG flows 2014-08-11 17:31:41 +02:00
ipu_common.c video: ipu: prevent warnings with W=1 2014-10-25 07:27:37 -04:00
ipu_disp.c video: ipu: prevent warnings with W=1 2014-10-25 07:27:37 -04:00
ipu_regs.h video: ipu_disp: wait for DP SF end irq when disabling sync BG flows 2014-08-11 17:31:41 +02:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
l5f31188.c video: add L5F31188 TFT-LCD panel driver 2013-08-10 09:31:04 +02:00
ld9040.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-09-12 11:27:46 -04:00
mb86r0xgdc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mb862xx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xx_lcd.c mpc8xx: remove v37 board support 2014-07-07 19:43:02 -04:00
mx3fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_ipuv3_fb.c video: ipu: prevent warnings with W=1 2014-10-25 07:27:37 -04:00
mxcfb.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsfb.c video: Implement continuous screen refresh for SmartLCD into mxsfb 2013-08-09 21:48:57 +02:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
parade.c video: Add driver for Parade PS8625 dP to LVDS bridge 2014-09-05 20:37:07 +09:00
pxa_lcd.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
s6e8ax0.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
s6e63d6.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sandbox_sdl.c sandbox: Add LCD driver 2014-03-17 20:05:49 -06:00
scf0403_lcd.c lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
sed156x.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
sed13806.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sm501.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smiLynxEM.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
tegra.c ARM: tegra: Tegra20 pinmux cleanup 2014-04-17 08:41:05 -07:00
videomodes.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
videomodes.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00