diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-06-17 13:10:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-22 14:33:19 -0700 |
commit | 108afbf8aef6520f2f34b3add94b059b60c44139 (patch) | |
tree | e7bdf9ab86b558c0023441f51dc741b641a2467e /drivers/staging/xgifb/vb_util.c | |
parent | 82d6eb5b2ecd4ccdd44a23115fc499ecefc77706 (diff) | |
download | op-kernel-dev-108afbf8aef6520f2f34b3add94b059b60c44139.zip op-kernel-dev-108afbf8aef6520f2f34b3add94b059b60c44139.tar.gz |
Staging: xgifb: Remove SHORT, UCHAR, and LONG typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/vb_util.c')
-rw-r--r-- | drivers/staging/xgifb/vb_util.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/xgifb/vb_util.c b/drivers/staging/xgifb/vb_util.c index 5e32afd..2c40368 100644 --- a/drivers/staging/xgifb/vb_util.c +++ b/drivers/staging/xgifb/vb_util.c @@ -10,8 +10,8 @@ void XGINew_SetReg1(unsigned long,unsigned short,unsigned short); void XGINew_SetReg2(unsigned long,unsigned short,unsigned short); void XGINew_SetReg3(unsigned long,unsigned short); void XGINew_SetReg4(unsigned long,unsigned long); -UCHAR XGINew_GetReg1(unsigned long,unsigned short); -UCHAR XGINew_GetReg2(unsigned long); +unsigned char XGINew_GetReg1(unsigned long, unsigned short); +unsigned char XGINew_GetReg2(unsigned long); unsigned long XGINew_GetReg3(unsigned long); void XGINew_ClearDAC(unsigned char *); void XGINew_SetRegANDOR(unsigned long Port,unsigned short Index, @@ -43,7 +43,7 @@ void XGINew_SetReg1( unsigned long port , unsigned short index , unsigned short /* --------------------------------------------------------------------- */ /*void XGINew_SetReg2( unsigned long port , unsigned short index , unsigned short data ) { - InPortByte( ( PUCHAR )port + 0x3da - 0x3c0 ) ; + InPortByte((P unsigned char )port + 0x3da - 0x3c0) ; OutPortByte( XGINew_P3c0 , index ) ; OutPortByte( XGINew_P3c0 , data ) ; OutPortByte( XGINew_P3c0 , 0x20 ) ; @@ -80,9 +80,9 @@ void XGINew_SetReg4( unsigned long port , unsigned long data ) /* Output : */ /* Description : */ /* --------------------------------------------------------------------- */ -UCHAR XGINew_GetReg1( unsigned long port , unsigned short index ) +unsigned char XGINew_GetReg1(unsigned long port, unsigned short index) { - UCHAR data ; + unsigned char data ; outb(index, port); data = inb(port + 1) ; @@ -96,9 +96,9 @@ UCHAR XGINew_GetReg1( unsigned long port , unsigned short index ) /* Output : */ /* Description : */ /* --------------------------------------------------------------------- */ -UCHAR XGINew_GetReg2( unsigned long port ) +unsigned char XGINew_GetReg2(unsigned long port) { - UCHAR data ; + unsigned char data ; data = inb(port) ; @@ -197,7 +197,7 @@ void NewDelaySeconds( int seconds ) /* Output : */ /* Description : */ /* --------------------------------------------------------------------- */ -void Newdebugcode( UCHAR code ) +void Newdebugcode(unsigned char code) { // OutPortByte ( 0x80 , code ) ; /* OutPortByte ( 0x300 , code ) ; */ |