do not bail out on non pci devices
To make the driver work on nin PCI devices we shouldn't bail out in this case. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2b6848fcb3
commit
bb7e39c1f2
|
@ -415,9 +415,6 @@ PreInit(ScrnInfoPtr pScrn, int flags)
|
||||||
|
|
||||||
pScrn->displayWidth = 640; /* default it */
|
pScrn->displayWidth = 640; /* default it */
|
||||||
|
|
||||||
if (ms->pEnt->location.type != BUS_PCI)
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
/* Allocate an entity private if necessary */
|
/* Allocate an entity private if necessary */
|
||||||
if (xf86IsEntityShared(pScrn->entityList[0])) {
|
if (xf86IsEntityShared(pScrn->entityList[0])) {
|
||||||
msEnt = xf86GetEntityPrivate(pScrn->entityList[0],
|
msEnt = xf86GetEntityPrivate(pScrn->entityList[0],
|
||||||
|
|
Loading…
Reference in New Issue