Fix build when XSERVER_PLATFORM_BUS is not defined.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
This commit is contained in:
Thomas Klausner 2015-11-11 13:32:05 +01:00 committed by Adam Jackson
parent 63f83d1b7f
commit 862cbf4c87

View File

@ -90,6 +90,10 @@ static const struct pci_id_match ms_device_match[] = {
};
#endif
#ifndef XSERVER_PLATFORM_BUS
struct xf86_platform_device;
#endif
#ifdef XSERVER_PLATFORM_BUS
static Bool ms_platform_probe(DriverPtr driver,
int entity_num, int flags,