summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-01 18:11:24 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-03 04:30:30 +0000
commit6af55e583d5f65c82dbe40c505846a099e6341a9 (patch)
treec7c7c8e6a7465633b5ec273fb580ff962e0a3baf /src/include/device
parent22d2604c46a0bb66a4912bad58500b8118d6547e (diff)
device/early_smbus: Drop unused function parameter
Change-Id: I2d62c470c5389af3b10e47ca5e721b78ff16bc79 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38051 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/early_smbus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/device/early_smbus.h b/src/include/device/early_smbus.h
index c2a2f67bd7..015be6778a 100644
--- a/src/include/device/early_smbus.h
+++ b/src/include/device/early_smbus.h
@@ -49,8 +49,8 @@
#include <stdint.h>
-u16 smbus_read_word(u32 smbus_dev, u8 addr, u8 offset);
-u8 smbus_read_byte(u32 smbus_dev, u8 addr, u8 offset);
-u8 smbus_write_byte(u32 smbus_dev, u8 addr, u8 offset, u8 value);
+u16 smbus_read_word(u8 addr, u8 offset);
+u8 smbus_read_byte(u8 addr, u8 offset);
+u8 smbus_write_byte(u8 addr, u8 offset, u8 value);
#endif /* DEVICE_EARLY_SMBUS_H */