[PATCH:xf86-video-modesetting] Fix build when XSERVER_PLATFORM_BUS is not defined.
Thomas Klausner
wiz at NetBSD.org
Wed Nov 11 04:32:05 PST 2015
On Mon, Nov 09, 2015 at 03:43:44PM -0500, Adam Jackson wrote:
> On Fri, 2015-11-06 at 10:30 +0100, Thomas Klausner wrote:
> > From: Jared McNeill <jmcneill at NetBSD.org>
>
> It's not wrong, but this driver lives in-server now.
Thanks for the information.
I have attached anew patch against the xserver.
Thomas
-------------- next part --------------
>From 12382b00672f811516f6bded90651bc3257d5954 Mon Sep 17 00:00:00 2001
From: Jared McNeill <jmcneill at NetBSD.org>
Date: Wed, 11 Nov 2015 13:30:25 +0100
Subject: [PATCH:xserver 2/2] Fix build when XSERVER_PLATFORM_BUS is not
defined.
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
hw/xfree86/drivers/modesetting/driver.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c
index 80abcdf..e66d278 100644
--- a/hw/xfree86/drivers/modesetting/driver.c
+++ b/hw/xfree86/drivers/modesetting/driver.c
@@ -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,
--
2.6.3
More information about the xorg-devel
mailing list