summaryrefslogtreecommitdiff
path: root/drivers/staging/xgifb
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2011-12-06 00:10:39 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-08 12:26:06 -0800
commit82986dd9e738996a9d2e508c164d1eb7464c07c6 (patch)
treeb6bca820564a351b13aa17b0543eebf182c189bc /drivers/staging/xgifb
parente27060f0e68e519ff62c0334fa8328337b2e39f1 (diff)
staging: xgifb: use u8 for video BIOS data
Use u8 for video BIOS data. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r--drivers/staging/xgifb/vb_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c
index 2a5b35d15a5d..b4383948d72a 100644
--- a/drivers/staging/xgifb/vb_init.c
+++ b/drivers/staging/xgifb/vb_init.c
@@ -1093,10 +1093,10 @@ static void XGINew_SetDRAMSize_340(struct xgi_hw_device_info *HwDeviceExtension,
xgifb_reg_set(pVBInfo->P3c4, 0x21, (unsigned short) (data | 0x20));
}
-static unsigned char *xgifb_copy_rom(struct pci_dev *dev)
+static u8 *xgifb_copy_rom(struct pci_dev *dev)
{
void __iomem *rom_address;
- unsigned char *rom_copy;
+ u8 *rom_copy;
size_t rom_size;
rom_address = pci_map_rom(dev, &rom_size);
@@ -1119,7 +1119,7 @@ static void ReadVBIOSTablData(struct pci_dev *pdev,
struct vb_device_info *pVBInfo)
{
struct xgifb_video_info *xgifb_info = pci_get_drvdata(pdev);
- unsigned char *vbios;
+ u8 *vbios;
unsigned long i;
unsigned char j, k;
struct XGI21_LVDSCapStruct *lvds;