summaryrefslogtreecommitdiffstats
path: root/drivers/video/cmdline.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/cmdline.c')
-rw-r--r--drivers/video/cmdline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/cmdline.c b/drivers/video/cmdline.c
index d3d257489c..49ee3fb495 100644
--- a/drivers/video/cmdline.c
+++ b/drivers/video/cmdline.c
@@ -80,6 +80,7 @@ const char *video_get_options(const char *name)
}
EXPORT_SYMBOL(video_get_options);
+#if IS_ENABLED(CONFIG_FB_CORE)
bool __video_get_options(const char *name, const char **options, bool is_of)
{
bool enabled = true;
@@ -96,6 +97,7 @@ bool __video_get_options(const char *name, const char **options, bool is_of)
return enabled;
}
EXPORT_SYMBOL(__video_get_options);
+#endif
/*
* Process command line options for video adapters. This function is