mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
55ea87a4f9
The function __video_get_options() only exists for compatibility with old fbdev drivers that cannot be refactored easily. Hide it behind CONFIG_FB_CORE. v2: * support CONFIG_FB_CORE=m via IS_ENABLED() (kernel test robot) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20240118090721.7995-3-tzimmermann@suse.de
17 lines
382 B
C
17 lines
382 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef VIDEO_CMDLINE_H
|
|
#define VIDEO_CMDLINE_H
|
|
|
|
#include <linux/kconfig.h>
|
|
#include <linux/types.h>
|
|
|
|
const char *video_get_options(const char *name);
|
|
|
|
#if IS_ENABLED(CONFIG_FB_CORE)
|
|
/* exported for compatibility with fbdev; don't use in new code */
|
|
bool __video_get_options(const char *name, const char **option, bool is_of);
|
|
#endif
|
|
|
|
#endif
|