staging: xgifb: rename struct video_info to xgifb_video_info
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 11 Oct 2011 18:47:18 +0000 (21:47 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Oct 2011 15:51:45 +0000 (09:51 -0600)
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>
drivers/staging/xgifb/XGI_main_26.c
drivers/staging/xgifb/XGIfb.h
drivers/staging/xgifb/vb_init.c

index f0f4746bf174b2de8d67083aab33b23c2d69b405..ef9b969aac3d5655a7e0425e5a622dfd613af7f8 100644 (file)
@@ -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)
@@ -2412,7 +2412,7 @@ error:
 
 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);
index 9b5552ba441a5ae64ac8abef22f624dd22ac35f3..0beda4268848857f4caa23bc090812fba132d42e 100644 (file)
@@ -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;
 
@@ -102,6 +102,6 @@ struct video_info {
 };
 
 
-extern struct video_info xgi_video_info;
+extern struct xgifb_video_info xgi_video_info;
 
 #endif
index b6178b498e2e295181eb5394342fa0bbd8904dad..ac36191dbffc314ade06a8e63e7e6cae2aa6a05f 100644 (file)
@@ -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;