Testing for "devfn < 0" on an unsigned doesn't work, and i2c_bus_to_devfn returns an int (with -1 for "error"), so use int for devfn.
Change-Id: I7d1cdb6af4140f7dc322141c0c018d8418627434
90ed31b intel/skylake: Enable signalling of error condition
src/soc/intel/skylake/romstage/i2c.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Upstream: review.coreboot.org