mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
sysfb: correct CONFIG_SYSFB_SIMPLEFB macro name in #endif comment
A comment in <linux/sysfb.h> incorrectly refers to CONFIG_SYSFB_SIMPLE instead of CONFIG_SYSFB_SIMPLEFB. Correct it. Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20260610195248.19442-1-enelsonmoore@gmail.com
This commit is contained in:
committed by
Thomas Zimmermann
parent
b0d3a24543
commit
2afdfc658f
@@ -118,7 +118,7 @@ struct platform_device *sysfb_create_simplefb(const struct screen_info *si,
|
||||
const struct simplefb_platform_data *mode,
|
||||
struct device *parent);
|
||||
|
||||
#else /* CONFIG_SYSFB_SIMPLE */
|
||||
#else /* CONFIG_SYSFB_SIMPLEFB */
|
||||
|
||||
static inline bool sysfb_parse_mode(const struct screen_info *si,
|
||||
struct simplefb_platform_data *mode)
|
||||
@@ -133,6 +133,6 @@ static inline struct platform_device *sysfb_create_simplefb(const struct screen_
|
||||
return ERR_PTR(-EINVAL);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SYSFB_SIMPLE */
|
||||
#endif /* CONFIG_SYSFB_SIMPLEFB */
|
||||
|
||||
#endif /* _LINUX_SYSFB_H */
|
||||
|
||||
Reference in New Issue
Block a user