Commit 6cb1192f authored by Michał Kępień's avatar Michał Kępień Committed by Darren Hart (VMware)

platform/x86: fujitsu-laptop: Clearly distinguish module parameters

In order to improve code clarity, move declarations of variables that
are module parameters higher up and add a comment.
Signed-off-by: default avatarMichał Kępień <kernel@kempniu.pl>
Reviewed-by: default avatarJonathan Woithe <jwoithe@just42.net>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 7f83d410
...@@ -112,6 +112,10 @@ ...@@ -112,6 +112,10 @@
#define MAX_HOTKEY_RINGBUFFER_SIZE 100 #define MAX_HOTKEY_RINGBUFFER_SIZE 100
#define RINGBUFFERSIZE 40 #define RINGBUFFERSIZE 40
/* Module parameters */
static int use_alt_lcd_levels = -1;
static bool disable_brightness_adjust;
/* Device controlling the backlight and associated keys */ /* Device controlling the backlight and associated keys */
struct fujitsu_bl { struct fujitsu_bl {
struct input_dev *input; struct input_dev *input;
...@@ -122,8 +126,6 @@ struct fujitsu_bl { ...@@ -122,8 +126,6 @@ struct fujitsu_bl {
}; };
static struct fujitsu_bl *fujitsu_bl; static struct fujitsu_bl *fujitsu_bl;
static int use_alt_lcd_levels = -1;
static bool disable_brightness_adjust;
/* Device used to access hotkeys and other features on the laptop */ /* Device used to access hotkeys and other features on the laptop */
struct fujitsu_laptop { struct fujitsu_laptop {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment