xref: /linux/include/video/cmdline.h (revision 5e3992fe72748ed3892be876f09d4d990548b7af)
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)
9 const char *video_get_options(const char *name);
10 
11 /* exported for compatibility with fbdev; don't use in new code */
12 bool __video_get_options(const char *name, const char **option, bool is_of);
13 #else
14 static inline const char *video_get_options(const char *name)
15 {
16 	return NULL;
17 }
18 #endif
19 
20 #endif
21