Merge tag 'for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen19...
[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
6#include <linux/types.h>
7
8#if defined(CONFIG_VIDEO_CMDLINE)
9const char *video_get_options(const char *name);
10
11/* exported for compatibility with fbdev; don't use in new code */
12bool __video_get_options(const char *name, const char **option, bool is_of);
13#else
14static inline const char *video_get_options(const char *name)
15{
16 return NULL;
17}
18#endif
19
20#endif