-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: xgifb: clean up register access types
Make type usage consistent. Use u8 for HW registers and unsigned for bitmasks. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Aaro Koskinen
authored and
Greg Kroah-Hartman
committed
Mar 14, 2011
1 parent
dc50556
commit d0e23bd
Showing
2 changed files
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#ifndef _VBUTIL_ | ||
#define _VBUTIL_ | ||
extern void xgifb_reg_set(unsigned long, unsigned short, unsigned short); | ||
extern unsigned char xgifb_reg_get(unsigned long, unsigned short); | ||
extern void xgifb_reg_or(unsigned long, unsigned short, unsigned short); | ||
extern void xgifb_reg_and(unsigned long, unsigned short, unsigned short); | ||
extern void xgifb_reg_and_or(unsigned long, unsigned short, unsigned short, unsigned short); | ||
extern void xgifb_reg_set(unsigned long, u8, u8); | ||
extern u8 xgifb_reg_get(unsigned long, u8); | ||
extern void xgifb_reg_or(unsigned long, u8, unsigned); | ||
extern void xgifb_reg_and(unsigned long, u8, unsigned); | ||
extern void xgifb_reg_and_or(unsigned long, u8, unsigned, unsigned); | ||
#endif | ||
|