summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/nct7802y
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2024-04-12 17:23:59 +0200
committerMatt DeVillier <matt.devillier@gmail.com>2024-04-16 01:47:24 +0000
commit76a015946e43fb0dc62368ec07c3823c65332c4f (patch)
tree62bdd0bebc769d90e45531cf720bc36d7a4e6d1c /src/drivers/i2c/nct7802y
parent41d107019b6bcbdad80a1d76abca7a181fd339d5 (diff)
nb/intel/haswell: Fix building BDW MRC.bin path with clang
Clang complains that the two enumerations are incompatible. However, the values themselves are the same (0: mobile, 1: desktop, 5: ULT). So, cast the function's return value to silence the warning. Change-Id: If7b5e22e893e9f3f17a15197c65448fb782590f6 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81862 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c/nct7802y')
0 files changed, 0 insertions, 0 deletions