aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/thinkpad_acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index d82f196e3cfe..3bbc6eb60de5 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -3174,7 +3174,7 @@ static int __init hotkey_init(struct ibm_init_struct *iibm)
3174 KEY_UNKNOWN, 3174 KEY_UNKNOWN,
3175 3175
3176 /* Extra keys in use since the X240 / T440 / T540 */ 3176 /* Extra keys in use since the X240 / T440 / T540 */
3177 KEY_CONFIG, KEY_SEARCH, KEY_SCALE, KEY_COMPUTER, 3177 KEY_CONFIG, KEY_SEARCH, KEY_SCALE, KEY_FILE,
3178 }, 3178 },
3179 }; 3179 };
3180 3180
@@ -6144,7 +6144,7 @@ static int brightness_set(unsigned int value)
6144{ 6144{
6145 int res; 6145 int res;
6146 6146
6147 if (value > bright_maxlvl || value < 0) 6147 if (value > bright_maxlvl)
6148 return -EINVAL; 6148 return -EINVAL;
6149 6149
6150 vdbg_printk(TPACPI_DBG_BRGHT, 6150 vdbg_printk(TPACPI_DBG_BRGHT,
@@ -6860,7 +6860,7 @@ static int volume_alsa_mute_put(struct snd_kcontrol *kcontrol,
6860 return volume_alsa_set_mute(!ucontrol->value.integer.value[0]); 6860 return volume_alsa_set_mute(!ucontrol->value.integer.value[0]);
6861} 6861}
6862 6862
6863static struct snd_kcontrol_new volume_alsa_control_vol = { 6863static struct snd_kcontrol_new volume_alsa_control_vol __initdata = {
6864 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 6864 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
6865 .name = "Console Playback Volume", 6865 .name = "Console Playback Volume",
6866 .index = 0, 6866 .index = 0,
@@ -6869,7 +6869,7 @@ static struct snd_kcontrol_new volume_alsa_control_vol = {
6869 .get = volume_alsa_vol_get, 6869 .get = volume_alsa_vol_get,
6870}; 6870};
6871 6871
6872static struct snd_kcontrol_new volume_alsa_control_mute = { 6872static struct snd_kcontrol_new volume_alsa_control_mute __initdata = {
6873 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 6873 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
6874 .name = "Console Playback Switch", 6874 .name = "Console Playback Switch",
6875 .index = 0, 6875 .index = 0,