summaryrefslogtreecommitdiffstats
path: root/arch/parisc/video/fbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/video/fbdev.c')
-rw-r--r--arch/parisc/video/fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/video/fbdev.c b/arch/parisc/video/fbdev.c
index 137561d982..e4f8ac99fc 100644
--- a/arch/parisc/video/fbdev.c
+++ b/arch/parisc/video/fbdev.c
@@ -21,6 +21,6 @@ int fb_is_primary_device(struct fb_info *info)
return true;
/* return true if it's the default built-in framebuffer driver */
- return (sti->info == info);
+ return (sti->dev == info->device);
}
EXPORT_SYMBOL(fb_is_primary_device);