You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
11 years ago
..
Kconfig
kconfig: add blank Kconfig files
11 years ago
Makefile
blackfin: rename bfin-twi_i2c driver to adi_i2c
11 years ago
adi_i2c.c
blackfin: convert to use CONFIG_SYS_I2C framework
11 years ago
davinci_i2c.c
i2c, davinci: convert driver to new mutlibus/mutliadapter framework
11 years ago
davinci_i2c.h
i2c, davinci: convert driver to new mutlibus/mutliadapter framework
11 years ago
designware_i2c.c
i2c: designware: Convert driver to multibus/multiadapter framework
11 years ago
designware_i2c.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
fsl_i2c.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
11 years ago
fti2c010.c
i2c: fti2c010: fix compiler warning on paddr[]
12 years ago
fti2c010.h
drivers/i2c: Update fti2c010.[ch], i2c_core.c to use SPDX identifiers
12 years ago
i2c_core.c
i2c: use __weak
11 years ago
ihs_i2c.c
cosmetic: replace MIN, MAX with min, max
11 years ago
kona_i2c.c
i2c: kona: Resolve Kona I2C driver issue
11 years ago
mv_i2c.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
mv_i2c.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
mvtwsi.c
i2c: mvtwsi: Add support for Marvell Armada XP
11 years ago
mxc_i2c.c
ls102xa: i2c: Add i2c support for LS102xA
11 years ago
mxs_i2c.c
i2c: mxs: Add support for I2C 1 on i.MX28
11 years ago
omap24xx_i2c.c
i2c, omap24xx: add i2c deblock sequenz
11 years ago
omap24xx_i2c.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
pca9564_i2c.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
ppc4xx_i2c.c
ppc4xx: Handle i2c stuck on combined xfer
11 years ago
rcar_i2c.c
i2c: rcar_i2c: Fix order of restart and clear status
11 years ago
s3c24x0_i2c.c
i2c: samsung: register i2c busses for Exynso5420 and Exynos5250
12 years ago
s3c24x0_i2c.h
i2c: s3c24xx: add hsi2c controller support
12 years ago
sh_i2c.c
i2c: sh_i2c: bugfix: i2c probe command does not work
11 years ago
sh_sh7734_i2c.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
soft_i2c.c
ARM: IXP: Remove the IXP architecture support
11 years ago
tegra_i2c.c
tegra: make local functions static
11 years ago
tsi108_i2c.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
u8500_i2c.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
u8500_i2c.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
zynq_i2c.c
i2c: zynq: Fixed compilation errors when using DEBUG
11 years ago