mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
V3 compilation errors:
Fix spd_read_byte prototype. Signed-off-by: Marc Jones <marc.jones@amd.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/coreboot-v3@567 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
643d952c5b
commit
e086b5cf81
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ int smbus_read_byte(u16 device, u8 address)
|
|||
* @param address The address.
|
||||
* @return The data from the SMBus packet area or an error of 0xff (i.e. -1).
|
||||
*/
|
||||
int spd_read_byte(u16 device, u8 address)
|
||||
u8 spd_read_byte(u16 device, u8 address)
|
||||
{
|
||||
return smbus_read_byte(device, address);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue