xfree86: fbdevhw: fix prototypes of fbdevhwstub

The prototypes between the stub functions and the real ones mismatched.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-01 16:44:00 +02:00
parent 0a705ae42c
commit 1056dccf53

View File

@@ -9,13 +9,13 @@
/* Stubs for the static server on platforms that don't support fbdev */
Bool
fbdevHWProbe(struct pci_device *pPci, char *device, char **namep)
fbdevHWProbe(struct pci_device *pPci, const char *device, char **namep)
{
return FALSE;
}
Bool
fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci, char *device)
fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci, const char *device)
{
LogMessageVerb(X_ERROR, 1, "fbdevhw is not available on this platform\n");
return FALSE;