aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 13:05:56 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 13:05:56 -0500
commit008d23e4852d78bb2618f2035f8b2110b6a6b968 (patch)
tree81c88f744f6f3fc84132527c1ddc0b4da410c5e2 /drivers/platform
parent8f685fbda43deccd130d192c9fcef1444649eaca (diff)
parentbfc672dcf323877228682aff79dff8ecd9f30ff8 (diff)
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits) Documentation/trace/events.txt: Remove obsolete sched_signal_send. writeback: fix global_dirty_limits comment runtime -> real-time ppc: fix comment typo singal -> signal drivers: fix comment typo diable -> disable. m68k: fix comment typo diable -> disable. wireless: comment typo fix diable -> disable. media: comment typo fix diable -> disable. remove doc for obsolete dynamic-printk kernel-parameter remove extraneous 'is' from Documentation/iostats.txt Fix spelling milisec -> ms in snd_ps3 module parameter description Fix spelling mistakes in comments Revert conflicting V4L changes i7core_edac: fix typos in comments mm/rmap.c: fix comment sound, ca0106: Fix assignment to 'channel'. hrtimer: fix a typo in comment init/Kconfig: fix typo anon_inodes: fix wrong function name in comment fix comment typos concerning "consistent" poll: fix a typo in comment ... Fix up trivial conflicts in: - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c) - fs/ext4/ext4.h Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/acer-wmi.c2
-rw-r--r--drivers/platform/x86/asus-laptop.c2
-rw-r--r--drivers/platform/x86/asus_acpi.c2
-rw-r--r--drivers/platform/x86/dell-laptop.c2
-rw-r--r--drivers/platform/x86/eeepc-laptop.c2
-rw-r--r--drivers/platform/x86/fujitsu-laptop.c2
-rw-r--r--drivers/platform/x86/sony-laptop.c2
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c4
-rw-r--r--drivers/platform/x86/toshiba_acpi.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index ee40d681edd0..c5c4b8c32eb8 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -1021,7 +1021,7 @@ static int update_bl_status(struct backlight_device *bd)
1021 return 0; 1021 return 0;
1022} 1022}
1023 1023
1024static struct backlight_ops acer_bl_ops = { 1024static const struct backlight_ops acer_bl_ops = {
1025 .get_brightness = read_brightness, 1025 .get_brightness = read_brightness,
1026 .update_status = update_bl_status, 1026 .update_status = update_bl_status,
1027}; 1027};
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c
index d235f44fd7a3..f3aa6a7fdab6 100644
--- a/drivers/platform/x86/asus-laptop.c
+++ b/drivers/platform/x86/asus-laptop.c
@@ -640,7 +640,7 @@ static int update_bl_status(struct backlight_device *bd)
640 return asus_lcd_set(asus, value); 640 return asus_lcd_set(asus, value);
641} 641}
642 642
643static struct backlight_ops asusbl_ops = { 643static const struct backlight_ops asusbl_ops = {
644 .get_brightness = asus_read_brightness, 644 .get_brightness = asus_read_brightness,
645 .update_status = update_bl_status, 645 .update_status = update_bl_status,
646}; 646};
diff --git a/drivers/platform/x86/asus_acpi.c b/drivers/platform/x86/asus_acpi.c
index ca05aefd03bf..4633fd8532cc 100644
--- a/drivers/platform/x86/asus_acpi.c
+++ b/drivers/platform/x86/asus_acpi.c
@@ -1467,7 +1467,7 @@ static int asus_hotk_remove(struct acpi_device *device, int type)
1467 return 0; 1467 return 0;
1468} 1468}
1469 1469
1470static struct backlight_ops asus_backlight_data = { 1470static const struct backlight_ops asus_backlight_data = {
1471 .get_brightness = read_brightness, 1471 .get_brightness = read_brightness,
1472 .update_status = set_brightness_status, 1472 .update_status = set_brightness_status,
1473}; 1473};
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index cf8a89a0d8f5..34657f96b5a5 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -546,7 +546,7 @@ out:
546 return buffer->output[1]; 546 return buffer->output[1];
547} 547}
548 548
549static struct backlight_ops dell_ops = { 549static const struct backlight_ops dell_ops = {
550 .get_brightness = dell_get_intensity, 550 .get_brightness = dell_get_intensity,
551 .update_status = dell_send_intensity, 551 .update_status = dell_send_intensity,
552}; 552};
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index e9fc530e7dc2..49d9ad708f89 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -1126,7 +1126,7 @@ static int update_bl_status(struct backlight_device *bd)
1126 return set_brightness(bd, bd->props.brightness); 1126 return set_brightness(bd, bd->props.brightness);
1127} 1127}
1128 1128
1129static struct backlight_ops eeepcbl_ops = { 1129static const struct backlight_ops eeepcbl_ops = {
1130 .get_brightness = read_brightness, 1130 .get_brightness = read_brightness,
1131 .update_status = update_bl_status, 1131 .update_status = update_bl_status,
1132}; 1132};
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c
index ad88b2ec34a1..19e92b2a7f7e 100644
--- a/drivers/platform/x86/fujitsu-laptop.c
+++ b/drivers/platform/x86/fujitsu-laptop.c
@@ -437,7 +437,7 @@ static int bl_update_status(struct backlight_device *b)
437 return ret; 437 return ret;
438} 438}
439 439
440static struct backlight_ops fujitsubl_ops = { 440static const struct backlight_ops fujitsubl_ops = {
441 .get_brightness = bl_get_brightness, 441 .get_brightness = bl_get_brightness,
442 .update_status = bl_update_status, 442 .update_status = bl_update_status,
443}; 443};
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index b4a95bb2f232..5e83370b0812 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -858,7 +858,7 @@ static int sony_backlight_get_brightness(struct backlight_device *bd)
858} 858}
859 859
860static struct backlight_device *sony_backlight_device; 860static struct backlight_device *sony_backlight_device;
861static struct backlight_ops sony_backlight_ops = { 861static const struct backlight_ops sony_backlight_ops = {
862 .update_status = sony_backlight_update_status, 862 .update_status = sony_backlight_update_status,
863 .get_brightness = sony_backlight_get_brightness, 863 .get_brightness = sony_backlight_get_brightness,
864}; 864};
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index a974ca383cb9..dd599585c6a9 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -6110,7 +6110,7 @@ static void tpacpi_brightness_notify_change(void)
6110 BACKLIGHT_UPDATE_HOTKEY); 6110 BACKLIGHT_UPDATE_HOTKEY);
6111} 6111}
6112 6112
6113static struct backlight_ops ibm_backlight_data = { 6113static const struct backlight_ops ibm_backlight_data = {
6114 .get_brightness = brightness_get, 6114 .get_brightness = brightness_get,
6115 .update_status = brightness_update_status, 6115 .update_status = brightness_update_status,
6116}; 6116};
@@ -7194,7 +7194,7 @@ static struct ibm_struct volume_driver_data = {
7194 * TPACPI_FAN_WR_ACPI_FANS (X31/X40/X41) 7194 * TPACPI_FAN_WR_ACPI_FANS (X31/X40/X41)
7195 * 7195 *
7196 * FIRMWARE BUG: on some models, EC 0x2f might not be initialized at 7196 * FIRMWARE BUG: on some models, EC 0x2f might not be initialized at
7197 * boot. Apparently the EC does not intialize it, so unless ACPI DSDT 7197 * boot. Apparently the EC does not initialize it, so unless ACPI DSDT
7198 * does so, its initial value is meaningless (0x07). 7198 * does so, its initial value is meaningless (0x07).
7199 * 7199 *
7200 * For firmware bugs, refer to: 7200 * For firmware bugs, refer to:
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index 4276da7291b8..209cced786c6 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -841,7 +841,7 @@ static void remove_toshiba_proc_entries(void)
841 remove_proc_entry("version", toshiba_proc_dir); 841 remove_proc_entry("version", toshiba_proc_dir);
842} 842}
843 843
844static struct backlight_ops toshiba_backlight_data = { 844static const struct backlight_ops toshiba_backlight_data = {
845 .get_brightness = get_lcd, 845 .get_brightness = get_lcd,
846 .update_status = set_lcd_status, 846 .update_status = set_lcd_status,
847}; 847};