summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-02-10 15:16:59 +0900
committerAlexandre Courbot <acourbot@nvidia.com>2016-02-26 16:54:49 +0900
commit2309eccb2cd0491ae3aedaaf3505461cb189bdfe (patch)
treefa016f3e198b0805cb836c6fadabd735db9bc562
parentb7bc1d65bba3e26cd6244bc1943a8baf72449785 (diff)
downloadnouveau-compat-3.18.tar.gz
fix compile warning with 3.18compat-3.18
-rw-r--r--drm/nouveau/nouveau_fbcon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drm/nouveau/nouveau_fbcon.c b/drm/nouveau/nouveau_fbcon.c
index 40d198cca..02c5763e9 100644
--- a/drm/nouveau/nouveau_fbcon.c
+++ b/drm/nouveau/nouveau_fbcon.c
@@ -446,7 +446,11 @@ nouveau_fbcon_create(struct drm_fb_helper *helper,
nouveau_fbcon_zfill(dev, fbcon);
/* To allow resizeing without swapping buffers */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)
NV_INFO(drm, "allocated %dx%d fb: 0x%llx, bo %p\n",
+#else
+ NV_INFO(drm, "allocated %dx%d fb: 0x%lx, bo %p\n",
+#endif
nouveau_fb->base.width, nouveau_fb->base.height,
nvbo->bo.offset, nvbo);