diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-02-09 14:55:04 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-02-20 14:56:46 +0100 |
commit | 6d8ad3406a699f1f88ebf976338542857d95eeb5 (patch) | |
tree | 7ba73958ea11ac0212cdd38d7980b1b9fc48d2c6 /drivers/video | |
parent | 089d924d03d5c17b05d02992f57671ccfba1c4f0 (diff) | |
download | linux-stable-6d8ad3406a699f1f88ebf976338542857d95eeb5.tar.gz linux-stable-6d8ad3406a699f1f88ebf976338542857d95eeb5.tar.bz2 linux-stable-6d8ad3406a699f1f88ebf976338542857d95eeb5.zip |
fbdev: Unexport fb_mode_option
There are no external users of fb_mode_option. Unexport the variable
and declare it static.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230209135509.7786-7-tzimmermann@suse.de
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/core/fb_cmdline.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/fbdev/core/fb_cmdline.c b/drivers/video/fbdev/core/fb_cmdline.c index cc8a88e8f308..512da89ff8b5 100644 --- a/drivers/video/fbdev/core/fb_cmdline.c +++ b/drivers/video/fbdev/core/fb_cmdline.c @@ -18,11 +18,9 @@ #include <linux/fb.h> static char *video_options[FB_MAX] __read_mostly; +static const char *fb_mode_option __read_mostly; static int ofonly __read_mostly; -const char *fb_mode_option; -EXPORT_SYMBOL_GPL(fb_mode_option); - /** * fb_get_options - get kernel boot parameters * @name: framebuffer name as it would appear in |