From 49b817501f97d55480063c0b62544b3af75b4b7c Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Tue, 1 Jun 2010 16:16:53 +0300 Subject: [PATCH] xfree86: bus: remove xfree86 and few other references from OS files Conceptually, os-support should have only a basic set of OS helpers which wouldn't mix with any DDX common structure (e.g. windowing structures, etc) This patch removes some xfree86-only and a few other unused references from os-support/bus. Signed-off-by: Tiago Vignatti Reviewed-by: Mikhail Gusarov --- hw/xfree86/os-support/bus/Pci.c | 11 ----------- hw/xfree86/os-support/bus/linuxPci.c | 4 ---- 2 files changed, 15 deletions(-) diff --git a/hw/xfree86/os-support/bus/Pci.c b/hw/xfree86/os-support/bus/Pci.c index a0a597d87..fe4850ecd 100644 --- a/hw/xfree86/os-support/bus/Pci.c +++ b/hw/xfree86/os-support/bus/Pci.c @@ -124,19 +124,8 @@ #include #endif -#include -#include -#include "compiler.h" -#include "xf86.h" -#include "xf86Priv.h" -#define XF86_OS_PRIVS -#include "xf86_OSproc.h" #include "Pci.h" -#include - -/* Global data */ - PCITAG pciTag(int busnum, int devnum, int funcnum) { diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c index 289315ebc..fcfdbcb67 100644 --- a/hw/xfree86/os-support/bus/linuxPci.c +++ b/hw/xfree86/os-support/bus/linuxPci.c @@ -49,12 +49,8 @@ #endif #include -#include "compiler.h" -#include "xf86.h" -#include "xf86Priv.h" #include "xf86_OSlib.h" #include "Pci.h" -#include static const struct pci_id_match match_host_bridge = { PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY,