Skip to content

Commit

Permalink
staging: xgifb: rename struct video_info to xgifb_video_info
Browse files Browse the repository at this point in the history
Rename struct video_info to xgifb_video_info.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Oct 12, 2011
1 parent 7548a83 commit ab886ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static inline void dumpVGAReg(void)
#endif

/* data for XGI components */
struct video_info xgi_video_info;
struct xgifb_video_info xgi_video_info;

#if 1
#define DEBUGPRN(x)
Expand Down Expand Up @@ -2412,7 +2412,7 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,

static void __devexit xgifb_remove(struct pci_dev *pdev)
{
struct video_info *xgifb_info = pci_get_drvdata(pdev);
struct xgifb_video_info *xgifb_info = pci_get_drvdata(pdev);
struct fb_info *fb_info = xgifb_info->fb_info;

unregister_framebuffer(fb_info);
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/xgifb/XGIfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ enum xgi_tv_plug { /* vicki@030226 */
TVPLUG_TOTAL
};

struct video_info {
struct xgifb_video_info {
struct fb_info *fb_info;
struct xgi_hw_device_info hw_info;

Expand Down Expand Up @@ -102,6 +102,6 @@ struct video_info {
};


extern struct video_info xgi_video_info;
extern struct xgifb_video_info xgi_video_info;

#endif
2 changes: 1 addition & 1 deletion drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ static unsigned char GetXG27FPBits(struct vb_device_info *pVBInfo)

unsigned char XGIInitNew(struct pci_dev *pdev)
{
struct video_info *xgifb_info = pci_get_drvdata(pdev);
struct xgifb_video_info *xgifb_info = pci_get_drvdata(pdev);
struct xgi_hw_device_info *HwDeviceExtension = &xgifb_info->hw_info;
struct vb_device_info VBINF;
struct vb_device_info *pVBInfo = &VBINF;
Expand Down

0 comments on commit ab886ff

Please sign in to comment.