[PATCH xserver 04/12] xfree86: Move DRICreatePCIBusID to the PCI code
Jon Turney
jon.turney at dronecode.org.uk
Wed Jun 21 18:36:34 UTC 2017
On 16/06/2017 20:44, Adam Jackson wrote:
> This symbol is used by some DRI2+ drivers and there's nothing
> DRI1-specific about it.
>
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
> hw/xfree86/common/xf86pciBus.c | 12 ++++++++++++
> hw/xfree86/common/xf86str.h | 2 ++
> hw/xfree86/dri/dri.c | 12 ------------
> hw/xfree86/dri/dri.h | 2 --
> 4 files changed, 14 insertions(+), 14 deletions(-)
[...]
> diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h
> index edd91c745..79c4c9daf 100644
> --- a/hw/xfree86/common/xf86str.h
> +++ b/hw/xfree86/common/xf86str.h
> @@ -771,4 +771,6 @@ typedef enum {
> ACTION_SWITCHSCREEN_PREV,
> } ActionEvent;
>
> +extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
> +
> #endif /* _XF86STR_H */
It seems that moving DRICreatePCIBusID() to xf86str.h means that it now
unconditionally appears in sdksyms.c. But the definition only exists if
we're building with XORG_BUS_PCI.
More information about the xorg-devel
mailing list