Use uint16_t and friends where appropriate (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -41,7 +41,7 @@ const static struct superio_registers reg_table[] = {
|
||||
};
|
||||
|
||||
/* Note: The actual SMSC ID is 16 bits, but we must pass 32 bits here. */
|
||||
void dump_smsc(uint32_t port, uint32_t id)
|
||||
void dump_smsc(uint16_t port, uint16_t id)
|
||||
{
|
||||
switch (id) {
|
||||
case 0x28:
|
||||
@@ -53,7 +53,7 @@ void dump_smsc(uint32_t port, uint32_t id)
|
||||
}
|
||||
}
|
||||
|
||||
void probe_idregs_smsc(unsigned short port)
|
||||
void probe_idregs_smsc(uint16_t port)
|
||||
{
|
||||
uint16_t id, rev;
|
||||
|
||||
|
Reference in New Issue
Block a user