[PATCH fbdev driver] fbdevhw: adjust new probing interface
Tiago Vignatti
tiago.vignatti at nokia.com
Tue Sep 7 05:18:51 PDT 2010
Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
---
src/fbdev.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/fbdev.c b/src/fbdev.c
index c97ce1c..afa0934 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -248,7 +248,7 @@ static Bool FBDevPciProbe(DriverPtr drv, int entity_num,
pScrn->entityInstanceList[0]);
device = xf86FindOptionValue(devSection->options, "fbdev");
- if (fbdevHWProbe(NULL, device, NULL)) {
+ if (fbdevHWProbe(device, NULL)) {
pScrn->driverVersion = FBDEV_VERSION;
pScrn->driverName = FBDEV_DRIVER_NAME;
pScrn->name = FBDEV_NAME;
@@ -322,7 +322,7 @@ FBDevProbe(DriverPtr drv, int flags)
0;
}
- if (fbdevHWProbe(NULL,dev,NULL)) {
+ if (fbdevHWProbe(dev,NULL)) {
pScrn = NULL;
if (isPci) {
#ifndef XSERVER_LIBPCIACCESS
--
1.7.1.226.g770c5
More information about the xorg-devel
mailing list