mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-23 07:58:36 -07:00
Add a NULL check for i2c slave init callbacks, so that we no longer need to implement empty init functions. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Message-id: 20161202054617.6749-4-alastair@au1.ibm.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [PMM: squashed in later tweak from Alistair to if() phrasing] Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
|---|---|---|
| .. | ||
| aspeed_i2c.c | ||
| bitbang_i2c.c | ||
| bitbang_i2c.h | ||
| core.c | ||
| exynos4210_i2c.c | ||
| i2c-ddc.c | ||
| imx_i2c.c | ||
| Makefile.objs | ||
| omap_i2c.c | ||
| pm_smbus.c | ||
| smbus.c | ||
| smbus_eeprom.c | ||
| smbus_ich9.c | ||
| versatile_i2c.c | ||