Minor log message clean up.
authorIan Romanick <idr@us.ibm.com>
Tue, 24 Jul 2007 01:50:52 +0000 (18:50 -0700)
committerIan Romanick <idr@us.ibm.com>
Tue, 24 Jul 2007 01:50:52 +0000 (18:50 -0700)
linux-core/xgi_regs.h

index b211626..f5311c1 100644 (file)
@@ -76,9 +76,10 @@ static inline u8 IN3CFB(struct drm_map * map, u8 index)
  */
 static inline void dwWriteReg(struct drm_map * map, u32 addr, u32 data)
 {
+#ifdef XGI_MMIO_DEBUG
        DRM_INFO("mmio_map->handle = 0x%p, addr = 0x%x, data = 0x%x\n",
                 map->handle, addr, data);
-
+#endif
        DRM_WRITE32(map, addr, data);
 }