summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/video.h')
-rw-r--r--arch/x86/include/asm/video.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/video.h b/arch/x86/include/asm/video.h
index 0950c9535fae..08ec328203ef 100644
--- a/arch/x86/include/asm/video.h
+++ b/arch/x86/include/asm/video.h
@@ -13,8 +13,10 @@ pgprot_t pgprot_framebuffer(pgprot_t prot,
unsigned long offset);
#define pgprot_framebuffer pgprot_framebuffer
+#ifdef CONFIG_VIDEO
bool video_is_primary_device(struct device *dev);
#define video_is_primary_device video_is_primary_device
+#endif
#include <asm-generic/video.h>