Bug 10538

Summary: fbdehwstub.c need cleanup for libpci
Product: xorg Reporter: Shu Ming <edward.shu>
Component: Lib/pciaccessAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: edward.shu, idr
Version: gitKeywords: janitor
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Shu Ming 2007-04-05 18:56:39 UTC
Some stub funtions use the obsolete type "pciVideoPtr" instead of "struct pci_device *' that cause compiling error.
Comment 1 Shu Ming 2007-04-05 18:58:25 UTC
suggested fix:
 Bool
-fbdevHWProbe(pciVideoPtr pPci, char *device, char **namep)
+fbdevHWProbe(struct pci_device *pPci, char *device, char **namep)
 {
        return FALSE;
 }
 
 Bool
-fbdevHWInit(ScrnInfoPtr pScrn, pciVideoPtr pPci, char *device)
+fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci, char *device)
 {
        xf86Msg(X_ERROR, "fbdevhw is not available on this platform\n");
        return FALSE;
 }
Comment 2 Tilman Sauerbeck 2007-09-30 04:58:12 UTC
This was fixed in 801c359574d08ff2d6ac75a3325ff522bc862e30.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.