diff options
Diffstat (limited to 'drivers/platform/x86')
| -rw-r--r-- | drivers/platform/x86/amilo-rfkill.c | 2 | ||||
| -rw-r--r-- | drivers/platform/x86/fujitsu-tablet.c | 10 | ||||
| -rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/platform/x86/amilo-rfkill.c b/drivers/platform/x86/amilo-rfkill.c index a514bf66fdd7..1deca7f6c4ea 100644 --- a/drivers/platform/x86/amilo-rfkill.c +++ b/drivers/platform/x86/amilo-rfkill.c | |||
| @@ -74,7 +74,7 @@ static const struct rfkill_ops amilo_m7440_rfkill_ops = { | |||
| 74 | .set_block = amilo_m7440_rfkill_set_block | 74 | .set_block = amilo_m7440_rfkill_set_block |
| 75 | }; | 75 | }; |
| 76 | 76 | ||
| 77 | static const struct dmi_system_id __devinitdata amilo_rfkill_id_table[] = { | 77 | static const struct dmi_system_id __devinitconst amilo_rfkill_id_table[] = { |
| 78 | { | 78 | { |
| 79 | .matches = { | 79 | .matches = { |
| 80 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), | 80 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c index 7acae3f85f3b..f77484528b1b 100644 --- a/drivers/platform/x86/fujitsu-tablet.c +++ b/drivers/platform/x86/fujitsu-tablet.c | |||
| @@ -52,7 +52,7 @@ struct fujitsu_config { | |||
| 52 | unsigned int quirks; | 52 | unsigned int quirks; |
| 53 | }; | 53 | }; |
| 54 | 54 | ||
| 55 | static unsigned short keymap_Lifebook_Tseries[KEYMAP_LEN] __initconst = { | 55 | static unsigned short keymap_Lifebook_Tseries[KEYMAP_LEN] __initdata = { |
| 56 | KEY_RESERVED, | 56 | KEY_RESERVED, |
| 57 | KEY_RESERVED, | 57 | KEY_RESERVED, |
| 58 | KEY_RESERVED, | 58 | KEY_RESERVED, |
| @@ -71,7 +71,7 @@ static unsigned short keymap_Lifebook_Tseries[KEYMAP_LEN] __initconst = { | |||
| 71 | KEY_LEFTALT | 71 | KEY_LEFTALT |
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| 74 | static unsigned short keymap_Lifebook_U810[KEYMAP_LEN] __initconst = { | 74 | static unsigned short keymap_Lifebook_U810[KEYMAP_LEN] __initdata = { |
| 75 | KEY_RESERVED, | 75 | KEY_RESERVED, |
| 76 | KEY_RESERVED, | 76 | KEY_RESERVED, |
| 77 | KEY_RESERVED, | 77 | KEY_RESERVED, |
| @@ -90,7 +90,7 @@ static unsigned short keymap_Lifebook_U810[KEYMAP_LEN] __initconst = { | |||
| 90 | KEY_LEFTALT | 90 | KEY_LEFTALT |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | static unsigned short keymap_Stylistic_Tseries[KEYMAP_LEN] __initconst = { | 93 | static unsigned short keymap_Stylistic_Tseries[KEYMAP_LEN] __initdata = { |
| 94 | KEY_RESERVED, | 94 | KEY_RESERVED, |
| 95 | KEY_RESERVED, | 95 | KEY_RESERVED, |
| 96 | KEY_RESERVED, | 96 | KEY_RESERVED, |
| @@ -109,7 +109,7 @@ static unsigned short keymap_Stylistic_Tseries[KEYMAP_LEN] __initconst = { | |||
| 109 | KEY_LEFTALT | 109 | KEY_LEFTALT |
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | static unsigned short keymap_Stylistic_ST5xxx[KEYMAP_LEN] __initconst = { | 112 | static unsigned short keymap_Stylistic_ST5xxx[KEYMAP_LEN] __initdata = { |
| 113 | KEY_RESERVED, | 113 | KEY_RESERVED, |
| 114 | KEY_RESERVED, | 114 | KEY_RESERVED, |
| 115 | KEY_RESERVED, | 115 | KEY_RESERVED, |
| @@ -299,7 +299,7 @@ static int __devinit fujitsu_dmi_stylistic(const struct dmi_system_id *dmi) | |||
| 299 | return 1; | 299 | return 1; |
| 300 | } | 300 | } |
| 301 | 301 | ||
| 302 | static struct dmi_system_id dmi_ids[] __initconst = { | 302 | static const struct dmi_system_id dmi_ids[] __initconst = { |
| 303 | { | 303 | { |
| 304 | .callback = fujitsu_dmi_lifebook, | 304 | .callback = fujitsu_dmi_lifebook, |
| 305 | .ident = "Fujitsu Siemens P/T Series", | 305 | .ident = "Fujitsu Siemens P/T Series", |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 9da5fe715e6a..75dd651664ae 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
| @@ -522,7 +522,7 @@ static acpi_handle ec_handle; | |||
| 522 | 522 | ||
| 523 | #define TPACPI_HANDLE(object, parent, paths...) \ | 523 | #define TPACPI_HANDLE(object, parent, paths...) \ |
| 524 | static acpi_handle object##_handle; \ | 524 | static acpi_handle object##_handle; \ |
| 525 | static const acpi_handle *object##_parent __initdata = \ | 525 | static const acpi_handle * const object##_parent __initconst = \ |
| 526 | &parent##_handle; \ | 526 | &parent##_handle; \ |
| 527 | static char *object##_paths[] __initdata = { paths } | 527 | static char *object##_paths[] __initdata = { paths } |
| 528 | 528 | ||
