Skip to content

Commit

Permalink
staging: xgifb: ReadVBIOSTablData(): rename to xgifb_read_vbios()
Browse files Browse the repository at this point in the history
Rename the function to xgifb_read_vbios().

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 Dec 8, 2011
1 parent d1805b3 commit 4e6f403
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ static u8 *xgifb_copy_rom(struct pci_dev *dev, size_t *rom_size)
return rom_copy;
}

static void ReadVBIOSTablData(struct pci_dev *pdev,
static void xgifb_read_vbios(struct pci_dev *pdev,
struct vb_device_info *pVBInfo)
{
struct xgifb_video_info *xgifb_info = pci_get_drvdata(pdev);
Expand Down Expand Up @@ -1523,8 +1523,7 @@ unsigned char XGIInitNew(struct pci_dev *pdev)

InitTo330Pointer(HwDeviceExtension->jChipType, pVBInfo);

/* ReadVBIOSData */
ReadVBIOSTablData(pdev, pVBInfo);
xgifb_read_vbios(pdev, pVBInfo);

/* 1.Openkey */
xgifb_reg_set(pVBInfo->P3c4, 0x05, 0x86);
Expand Down

0 comments on commit 4e6f403

Please sign in to comment.