Bug 10538 - fbdehwstub.c need cleanup for libpci
Summary: fbdehwstub.c need cleanup for libpci
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/pciaccess (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: janitor
Depends on:
Blocks:
 
Reported: 2007-04-05 18:56 UTC by Shu Ming
Modified: 2007-09-30 04:58 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.