mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 15:20:05 +01:00
fix if() brackets in Probe function
in Probe() the indention shows what's meant but there are no brackets. Add them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
1349a2b7ab
commit
aa6ceaaa84
1 changed files with 2 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ Probe(DriverPtr drv, int flags)
|
|||
NULL, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
if (scrn)
|
||||
if (scrn) {
|
||||
foundScreen = TRUE;
|
||||
scrn->driverVersion = 1;
|
||||
scrn->driverName = "modesetting";
|
||||
|
|
@ -291,6 +291,7 @@ Probe(DriverPtr drv, int flags)
|
|||
|
||||
xf86DrvMsg(scrn->scrnIndex, X_INFO,
|
||||
"using %s\n", dev ? dev : "default device");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue