summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fb.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-01-07 17:04:54 +1000
committerH. Peter Anvin <hpa@zytor.com>2010-02-16 21:22:26 -0800
commit477346ff74f4c2aed50e8a0db96a61069f3e5b80 (patch)
tree09c664475eebc4e976f14fe45f774e8fb6ae6112 /arch/x86/include/asm/fb.h
parentb0483e78e5c4c9871fc5541875b3bc006846d46b (diff)
downloadlinux-0-day-477346ff74f4c2aed50e8a0db96a61069f3e5b80.tar.gz
linux-0-day-477346ff74f4c2aed50e8a0db96a61069f3e5b80.tar.xz
x86-64: Allow fbdev primary video code
For some reason the 64-bit tree was doing this differently and I can't see why it would need to. This correct behaviour when you have two GPUs plugged in and 32-bit put the console in one place and 64-bit in another. Signed-off-by: Dave Airlie <airlied@redhat.com> LKML-Reference: <1262847894-27498-1-git-send-email-airlied@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/fb.h')
-rw-r--r--arch/x86/include/asm/fb.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/fb.h b/arch/x86/include/asm/fb.h
index 53018464aea65..2519d0679d990 100644
--- a/arch/x86/include/asm/fb.h
+++ b/arch/x86/include/asm/fb.h
@@ -12,10 +12,6 @@ static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
}
-#ifdef CONFIG_X86_32
extern int fb_is_primary_device(struct fb_info *info);
-#else
-static inline int fb_is_primary_device(struct fb_info *info) { return 0; }
-#endif
#endif /* _ASM_X86_FB_H */