diff options
Diffstat (limited to 'drivers/platform/x86/toshiba_acpi.c')
-rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 5f1256d5e933..c2727895794c 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
@@ -150,7 +150,7 @@ static const struct acpi_device_id toshiba_device_ids[] = { | |||
150 | }; | 150 | }; |
151 | MODULE_DEVICE_TABLE(acpi, toshiba_device_ids); | 151 | MODULE_DEVICE_TABLE(acpi, toshiba_device_ids); |
152 | 152 | ||
153 | static const struct key_entry toshiba_acpi_keymap[] __devinitconst = { | 153 | static const struct key_entry toshiba_acpi_keymap[] = { |
154 | { KE_KEY, 0x101, { KEY_MUTE } }, | 154 | { KE_KEY, 0x101, { KEY_MUTE } }, |
155 | { KE_KEY, 0x102, { KEY_ZOOMOUT } }, | 155 | { KE_KEY, 0x102, { KEY_ZOOMOUT } }, |
156 | { KE_KEY, 0x103, { KEY_ZOOMIN } }, | 156 | { KE_KEY, 0x103, { KEY_ZOOMIN } }, |
@@ -875,8 +875,7 @@ static const struct file_operations version_proc_fops = { | |||
875 | 875 | ||
876 | #define PROC_TOSHIBA "toshiba" | 876 | #define PROC_TOSHIBA "toshiba" |
877 | 877 | ||
878 | static void __devinit | 878 | static void create_toshiba_proc_entries(struct toshiba_acpi_dev *dev) |
879 | create_toshiba_proc_entries(struct toshiba_acpi_dev *dev) | ||
880 | { | 879 | { |
881 | if (dev->backlight_dev) | 880 | if (dev->backlight_dev) |
882 | proc_create_data("lcd", S_IRUGO | S_IWUSR, toshiba_proc_dir, | 881 | proc_create_data("lcd", S_IRUGO | S_IWUSR, toshiba_proc_dir, |
@@ -979,7 +978,7 @@ static void toshiba_acpi_report_hotkey(struct toshiba_acpi_dev *dev, | |||
979 | pr_info("Unknown key %x\n", scancode); | 978 | pr_info("Unknown key %x\n", scancode); |
980 | } | 979 | } |
981 | 980 | ||
982 | static int __devinit toshiba_acpi_setup_keyboard(struct toshiba_acpi_dev *dev) | 981 | static int toshiba_acpi_setup_keyboard(struct toshiba_acpi_dev *dev) |
983 | { | 982 | { |
984 | acpi_status status; | 983 | acpi_status status; |
985 | acpi_handle ec_handle, handle; | 984 | acpi_handle ec_handle, handle; |
@@ -1069,7 +1068,7 @@ static int __devinit toshiba_acpi_setup_keyboard(struct toshiba_acpi_dev *dev) | |||
1069 | return error; | 1068 | return error; |
1070 | } | 1069 | } |
1071 | 1070 | ||
1072 | static int __devinit toshiba_acpi_setup_backlight(struct toshiba_acpi_dev *dev) | 1071 | static int toshiba_acpi_setup_backlight(struct toshiba_acpi_dev *dev) |
1073 | { | 1072 | { |
1074 | struct backlight_properties props; | 1073 | struct backlight_properties props; |
1075 | int brightness; | 1074 | int brightness; |
@@ -1154,7 +1153,7 @@ static int toshiba_acpi_remove(struct acpi_device *acpi_dev, int type) | |||
1154 | return 0; | 1153 | return 0; |
1155 | } | 1154 | } |
1156 | 1155 | ||
1157 | static const char * __devinit find_hci_method(acpi_handle handle) | 1156 | static const char *find_hci_method(acpi_handle handle) |
1158 | { | 1157 | { |
1159 | acpi_status status; | 1158 | acpi_status status; |
1160 | acpi_handle hci_handle; | 1159 | acpi_handle hci_handle; |
@@ -1170,7 +1169,7 @@ static const char * __devinit find_hci_method(acpi_handle handle) | |||
1170 | return NULL; | 1169 | return NULL; |
1171 | } | 1170 | } |
1172 | 1171 | ||
1173 | static int __devinit toshiba_acpi_add(struct acpi_device *acpi_dev) | 1172 | static int toshiba_acpi_add(struct acpi_device *acpi_dev) |
1174 | { | 1173 | { |
1175 | struct toshiba_acpi_dev *dev; | 1174 | struct toshiba_acpi_dev *dev; |
1176 | const char *hci_method; | 1175 | const char *hci_method; |