summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-10-04 20:13:36 +0200
committerDave Airlie <airlied@redhat.com>2011-10-05 10:17:36 +0100
commit6ea77d1384ed0c2d040a1934ecc3fd7187580931 (patch)
tree92b4358b0e91c4bca5da8ebe42cf9d64967a6536 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
parente5ed157d93861f30977913e95f7b5dc60ccc3318 (diff)
vmwgfx: Minor cleanups
As suggested by Konrad Rzeszutek Wilk Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index a98ee19bd68..ddb5abd6ac5 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
@@ -569,9 +569,9 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)
vmw_overlay_init(dev_priv);
/* 3D Depends on Screen Objects being used. */
- DRM_INFO("%s", vmw_fifo_have_3d(dev_priv) ?
- "Detected device 3D availability.\n" :
- "Detected no device 3D availability.\n");
+ DRM_INFO("Detected %sdevice 3D availability.\n",
+ vmw_fifo_have_3d(dev_priv) ?
+ "" : "no ");
/* We might be done with the fifo now */
if (dev_priv->enable_fb) {