u-boot/drivers/misc
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
..
ali512x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cbmem_console.c stdio: Pass device pointer to stdio methods 2014-07-23 14:07:23 +01:00
cros_ec.c dm: cros_ec: Add support for driver model 2014-10-22 10:36:53 -06:00
cros_ec_i2c.c cros_ec: Clean up multiple EC protocol support 2014-03-17 20:05:47 -06:00
cros_ec_lpc.c x86: cros_ec: Update LPC driver for new cros_ec header 2014-10-22 21:50:32 -06:00
cros_ec_sandbox.c dm: sandbox: cros_ec: Move sandbox cros_ec to driver module 2014-10-22 10:36:53 -06:00
cros_ec_spi.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
ds4510.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
fsl_ifc.c driver/fsl_ifc: Add a function to finalize CS0 address binding 2014-04-22 17:58:47 -07:00
fsl_iim.c arm: mx5: Add fuse supply enable in fsl_iim 2014-01-03 15:44:06 +01:00
gpio_led.c gpio_led: add support for inverted polarity 2013-11-25 10:41:52 -05:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-arm into master 2014-04-04 11:35:30 +02:00
mc9sdz60.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_ocotp.c replace DIV_ROUND with DIV_ROUND_CLOSEST 2014-11-20 11:28:25 -05:00
mxs_ocotp.c ARM: mxs: Add OCOTP driver 2014-03-31 18:28:50 +02:00
ns87308.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pdsp188x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
status_led.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
twl4030_led.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00