diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2010-12-20 16:50:13 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-12-21 22:56:46 -0500 |
commit | f48b9644ef330a13c6bb16ca85c2efdbe7e25558 (patch) | |
tree | 5290969092a6040b692910a9d95612b55fc5fa00 /drivers/video/sis/sis.h | |
parent | e68046b72e9b35d054e3d98d71dc2c69d7e88e1e (diff) |
sisfb: change register I/O functions to use fixed size types
Use fixed-sized types (u8, u16, u32) instead of plain C types.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sis/sis.h')
-rw-r--r-- | drivers/video/sis/sis.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/video/sis/sis.h b/drivers/video/sis/sis.h index a94272d0126e..acf0766c4dbf 100644 --- a/drivers/video/sis/sis.h +++ b/drivers/video/sis/sis.h | |||
@@ -309,17 +309,17 @@ | |||
309 | 309 | ||
310 | /* I/O port access macros and functions */ | 310 | /* I/O port access macros and functions */ |
311 | 311 | ||
312 | void SiS_SetReg(SISIOADDRESS, unsigned short, unsigned short); | 312 | void SiS_SetReg(SISIOADDRESS, u8, u8); |
313 | void SiS_SetRegByte(SISIOADDRESS, unsigned short); | 313 | void SiS_SetRegByte(SISIOADDRESS, u8); |
314 | void SiS_SetRegShort(SISIOADDRESS, unsigned short); | 314 | void SiS_SetRegShort(SISIOADDRESS, u16); |
315 | void SiS_SetRegLong(SISIOADDRESS, unsigned int); | 315 | void SiS_SetRegLong(SISIOADDRESS, u32); |
316 | void SiS_SetRegANDOR(SISIOADDRESS, unsigned short, unsigned short, unsigned short); | 316 | void SiS_SetRegANDOR(SISIOADDRESS, u8, u8, u8); |
317 | void SiS_SetRegAND(SISIOADDRESS, unsigned short, unsigned short); | 317 | void SiS_SetRegAND(SISIOADDRESS, u8, u8); |
318 | void SiS_SetRegOR(SISIOADDRESS, unsigned short, unsigned short); | 318 | void SiS_SetRegOR(SISIOADDRESS, u8, u8); |
319 | unsigned char SiS_GetReg(SISIOADDRESS, unsigned short); | 319 | u8 SiS_GetReg(SISIOADDRESS, u8); |
320 | unsigned char SiS_GetRegByte(SISIOADDRESS); | 320 | u8 SiS_GetRegByte(SISIOADDRESS); |
321 | unsigned short SiS_GetRegShort(SISIOADDRESS); | 321 | u16 SiS_GetRegShort(SISIOADDRESS); |
322 | unsigned int SiS_GetRegLong(SISIOADDRESS); | 322 | u32 SiS_GetRegLong(SISIOADDRESS); |
323 | 323 | ||
324 | #define inSISREG(base) inb(base) | 324 | #define inSISREG(base) inb(base) |
325 | 325 | ||