diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-27 23:46:46 +0100 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2014-02-01 18:38:32 +0100 |
commit | dec919890e2073d83679b0b0fcafa2114f33b826 (patch) | |
tree | aaab400f807212c957fdf3718ab7b62b3d50c356 /src/cpu/samsung/exynos5250/usb.h | |
parent | 5ef4220693aa727094b7cd9cadfaab51a13ed3e9 (diff) |
smbus: Add guards to avoid calling NULL.
Many of SMBus functions are unavailable on many controllers.
While calling unavailable function is bad, it shouldn't lead
to spectacular crash.
Change-Id: I7912f3bbbb438603893223a586dcedf57e8a7e28
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4837
Tested-by: build bot (Jenkins)
Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'src/cpu/samsung/exynos5250/usb.h')
0 files changed, 0 insertions, 0 deletions