mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
xfree86: move xf86_platform_device_odev_attributes() into private header
Not used by external drivers, and not part of ABI (just an inline), so no need to keep it it public SDK header. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
b9c5787ca5
commit
05d2b20e20
@@ -37,11 +37,6 @@ struct xf86_platform_device {
|
||||
#define XF86_PDEV_PAUSED 0x04
|
||||
|
||||
#ifdef XSERVER_PLATFORM_BUS
|
||||
static inline struct OdevAttributes *
|
||||
xf86_platform_device_odev_attributes(struct xf86_platform_device *device)
|
||||
{
|
||||
return device->attribs;
|
||||
}
|
||||
|
||||
/*
|
||||
* Define the legacy API only for external builds
|
||||
|
||||
@@ -19,6 +19,12 @@ xf86_platform_odev_attributes(int index)
|
||||
return device->attribs;
|
||||
}
|
||||
|
||||
static inline struct OdevAttributes *
|
||||
xf86_platform_device_odev_attributes(struct xf86_platform_device *device)
|
||||
{
|
||||
return device->attribs;
|
||||
}
|
||||
|
||||
int xf86platformProbe(void);
|
||||
int xf86platformProbeDev(DriverPtr drvp);
|
||||
int xf86platformAddGPUDevices(DriverPtr drvp);
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
#include "xf86xv.h"
|
||||
#include <xorg-config.h>
|
||||
#ifdef XSERVER_PLATFORM_BUS
|
||||
#include "xf86platformBus.h"
|
||||
#include "xf86platformBus_priv.h"
|
||||
#endif
|
||||
#ifdef XSERVER_LIBPCIACCESS
|
||||
#include <pciaccess.h>
|
||||
|
||||
Reference in New Issue
Block a user