Compare commits
1 Commits
master
...
submit/dro
Author | SHA1 | Date | |
---|---|---|---|
|
b8934df54e |
|
@ -567,23 +567,6 @@ xf86GetSbusInfoForEntity(int entityIndex)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
xf86GetEntityForSbusInfo(sbusDevicePtr psdp)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < xf86NumEntities; i++) {
|
||||
EntityPtr p = xf86Entities[i];
|
||||
|
||||
if (p->bus.type != BUS_SBUS)
|
||||
continue;
|
||||
|
||||
if (p->bus.id.sbus.fbNum == psdp->fbNum)
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
void
|
||||
xf86SbusUseBuiltinMode(ScrnInfoPtr pScrn, sbusDevicePtr psdp)
|
||||
{
|
||||
|
|
|
@ -73,7 +73,6 @@ extern _X_EXPORT int xf86MatchSbusInstances(const char *driverName,
|
|||
int numDevs, DriverPtr drvp,
|
||||
int **foundEntities);
|
||||
extern _X_EXPORT sbusDevicePtr xf86GetSbusInfoForEntity(int entityIndex);
|
||||
extern _X_EXPORT int xf86GetEntityForSbusInfo(sbusDevicePtr psdp);
|
||||
extern _X_EXPORT void xf86SbusUseBuiltinMode(ScrnInfoPtr pScrn,
|
||||
sbusDevicePtr psdp);
|
||||
extern _X_EXPORT void *xf86MapSbusMem(sbusDevicePtr psdp,
|
||||
|
|
Loading…
Reference in New Issue