diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-01-01 18:11:24 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-01-03 04:30:30 +0000 |
commit | 6af55e583d5f65c82dbe40c505846a099e6341a9 (patch) | |
tree | c7c7c8e6a7465633b5ec273fb580ff962e0a3baf /src/soc/intel/common | |
parent | 22d2604c46a0bb66a4912bad58500b8118d6547e (diff) | |
download | coreboot-6af55e583d5f65c82dbe40c505846a099e6341a9.tar.xz |
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/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/block/smbus/smbuslib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/common/block/smbus/smbuslib.c b/src/soc/intel/common/block/smbus/smbuslib.c index e2a0ed90ef..a8c2dad41c 100644 --- a/src/soc/intel/common/block/smbus/smbuslib.c +++ b/src/soc/intel/common/block/smbus/smbuslib.c @@ -178,17 +178,17 @@ int smbus_read16(unsigned int smbus_base, unsigned int device, return data; } -u16 smbus_read_word(u32 smbus_dev, u8 addr, u8 offset) +u16 smbus_read_word(u8 addr, u8 offset) { return smbus_read16(SMBUS_IO_BASE, addr, offset); } -u8 smbus_read_byte(u32 smbus_dev, u8 addr, u8 offset) +u8 smbus_read_byte(u8 addr, u8 offset) { return smbus_read8(SMBUS_IO_BASE, addr, offset); } -u8 smbus_write_byte(u32 smbus_dev, u8 addr, u8 offset, u8 value) +u8 smbus_write_byte(u8 addr, u8 offset, u8 value) { return smbus_write8(SMBUS_IO_BASE, addr, offset, value); } |