aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sis/sis.h
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2010-12-20 16:50:13 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-12-21 22:56:46 -0500
commitf48b9644ef330a13c6bb16ca85c2efdbe7e25558 (patch)
tree5290969092a6040b692910a9d95612b55fc5fa00 /drivers/video/sis/sis.h
parente68046b72e9b35d054e3d98d71dc2c69d7e88e1e (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.h22
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
312void SiS_SetReg(SISIOADDRESS, unsigned short, unsigned short); 312void SiS_SetReg(SISIOADDRESS, u8, u8);
313void SiS_SetRegByte(SISIOADDRESS, unsigned short); 313void SiS_SetRegByte(SISIOADDRESS, u8);
314void SiS_SetRegShort(SISIOADDRESS, unsigned short); 314void SiS_SetRegShort(SISIOADDRESS, u16);
315void SiS_SetRegLong(SISIOADDRESS, unsigned int); 315void SiS_SetRegLong(SISIOADDRESS, u32);
316void SiS_SetRegANDOR(SISIOADDRESS, unsigned short, unsigned short, unsigned short); 316void SiS_SetRegANDOR(SISIOADDRESS, u8, u8, u8);
317void SiS_SetRegAND(SISIOADDRESS, unsigned short, unsigned short); 317void SiS_SetRegAND(SISIOADDRESS, u8, u8);
318void SiS_SetRegOR(SISIOADDRESS, unsigned short, unsigned short); 318void SiS_SetRegOR(SISIOADDRESS, u8, u8);
319unsigned char SiS_GetReg(SISIOADDRESS, unsigned short); 319u8 SiS_GetReg(SISIOADDRESS, u8);
320unsigned char SiS_GetRegByte(SISIOADDRESS); 320u8 SiS_GetRegByte(SISIOADDRESS);
321unsigned short SiS_GetRegShort(SISIOADDRESS); 321u16 SiS_GetRegShort(SISIOADDRESS);
322unsigned int SiS_GetRegLong(SISIOADDRESS); 322u32 SiS_GetRegLong(SISIOADDRESS);
323 323
324#define inSISREG(base) inb(base) 324#define inSISREG(base) inb(base)
325 325