aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/fujitsu-tablet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/fujitsu-tablet.c')
-rw-r--r--drivers/platform/x86/fujitsu-tablet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c
index c3784baceae3..53bdbb01bd3f 100644
--- a/drivers/platform/x86/fujitsu-tablet.c
+++ b/drivers/platform/x86/fujitsu-tablet.c
@@ -315,21 +315,21 @@ static irqreturn_t fujitsu_interrupt(int irq, void *dev_id)
315 return IRQ_HANDLED; 315 return IRQ_HANDLED;
316} 316}
317 317
318static void fujitsu_dmi_common(const struct dmi_system_id *dmi) 318static void __init fujitsu_dmi_common(const struct dmi_system_id *dmi)
319{ 319{
320 pr_info("%s\n", dmi->ident); 320 pr_info("%s\n", dmi->ident);
321 memcpy(fujitsu.config.keymap, dmi->driver_data, 321 memcpy(fujitsu.config.keymap, dmi->driver_data,
322 sizeof(fujitsu.config.keymap)); 322 sizeof(fujitsu.config.keymap));
323} 323}
324 324
325static int fujitsu_dmi_lifebook(const struct dmi_system_id *dmi) 325static int __init fujitsu_dmi_lifebook(const struct dmi_system_id *dmi)
326{ 326{
327 fujitsu_dmi_common(dmi); 327 fujitsu_dmi_common(dmi);
328 fujitsu.config.quirks |= INVERT_TABLET_MODE_BIT; 328 fujitsu.config.quirks |= INVERT_TABLET_MODE_BIT;
329 return 1; 329 return 1;
330} 330}
331 331
332static int fujitsu_dmi_stylistic(const struct dmi_system_id *dmi) 332static int __init fujitsu_dmi_stylistic(const struct dmi_system_id *dmi)
333{ 333{
334 fujitsu_dmi_common(dmi); 334 fujitsu_dmi_common(dmi);
335 fujitsu.config.quirks |= FORCE_TABLET_MODE_IF_UNDOCK; 335 fujitsu.config.quirks |= FORCE_TABLET_MODE_IF_UNDOCK;