Fix "warning: XXX defined but not used"

generic.c:80: warning: ‘read_legacy_video_BIOS’ defined but not used

Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Tomas Carnecky 2009-02-03 23:58:25 +01:00 committed by Peter Hutterer
parent bc57efffe6
commit 731a907ac2

View File

@ -75,6 +75,7 @@ static void *sysMem = NULL;
* etc.). How do we know that \c pci_device_read_rom will return the
* legacy VGA BIOS image?
*/
#ifndef _PC
static int
read_legacy_video_BIOS(struct pci_device *dev, unsigned char *Buf)
{
@ -114,6 +115,7 @@ read_legacy_video_BIOS(struct pci_device *dev, unsigned char *Buf)
return Len;
}
#endif /* _PC */
xf86Int10InfoPtr