mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
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 <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
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
|