summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvc0_fbcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvc0_fbcon.c')
-rw-r--r--drm/nouveau/nvc0_fbcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/nvc0_fbcon.c b/drm/nouveau/nvc0_fbcon.c
index 9a5383371..90f27bfa3 100644
--- a/drm/nouveau/nvc0_fbcon.c
+++ b/drm/nouveau/nvc0_fbcon.c
@@ -149,7 +149,7 @@ nvc0_fbcon_accel_init(struct fb_info *info)
{
struct nouveau_fbdev *nfbdev = info->par;
struct drm_device *dev = nfbdev->helper.dev;
- struct nouveau_framebuffer *fb = &nfbdev->nouveau_fb;
+ struct nouveau_framebuffer *fb = nouveau_framebuffer(nfbdev->helper.fb);
struct nouveau_drm *drm = nouveau_drm(dev);
struct nouveau_channel *chan = drm->channel;
int ret, format;