video/cmdline: Hide __video_get_options() behind CONFIG_FB_CORE
[linux-2.6-block.git] / include / video / cmdline.h
CommitLineData
93604a5a
TZ
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef VIDEO_CMDLINE_H
4#define VIDEO_CMDLINE_H
5
55ea87a4 6#include <linux/kconfig.h>
93604a5a
TZ
7#include <linux/types.h>
8
93604a5a
TZ
9const char *video_get_options(const char *name);
10
55ea87a4 11#if IS_ENABLED(CONFIG_FB_CORE)
93604a5a
TZ
12/* exported for compatibility with fbdev; don't use in new code */
13bool __video_get_options(const char *name, const char **option, bool is_of);
55ea87a4 14#endif
93604a5a
TZ
15
16#endif