Commit 6d8ad340 authored by Thomas Zimmermann's avatar Thomas Zimmermann
Browse files

fbdev: Unexport fb_mode_option



There are no external users of fb_mode_option. Unexport the variable
and declare it static.

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230209135509.7786-7-tzimmermann@suse.de
parent 089d924d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -764,7 +764,6 @@ struct dmt_videomode {
	const struct fb_videomode *mode;
};

extern const char *fb_mode_option;
extern const struct fb_videomode vesa_modes[];
extern const struct dmt_videomode dmt_modes[];