summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorChristian Krause <chkr@plauener.de>2009-12-10 22:34:14 -0600
committerVictor Lowther <victor.lowther@gmail.com>2009-12-10 22:34:14 -0600
commit2c7982708aea4296cdd238b224fc9b0b99f117b8 (patch)
tree115eb4e0606ab68084c4c2b749026654d3f7d805 /pm
parent7f1732c08db46d76692cb2860c38d5e6d3987cc8 (diff)
Fix pci-save vs save-pci related typos
- fix wrong function calls to pci_restore and pci_save which did not match the actual defined functions (restore_pci and save_pci) - use the correct quirk parameter in "remove_paramters" (use --quirk-save-pci instead of --quirk-pci-save)
Diffstat (limited to 'pm')
-rwxr-xr-xpm/sleep.d/98smart-kernel-video2
-rwxr-xr-xpm/sleep.d/99video6
2 files changed, 4 insertions, 4 deletions
diff --git a/pm/sleep.d/98smart-kernel-video b/pm/sleep.d/98smart-kernel-video
index b44e5d8..1c0952b 100755
--- a/pm/sleep.d/98smart-kernel-video
+++ b/pm/sleep.d/98smart-kernel-video
@@ -23,7 +23,7 @@ remove_all_video_quirks()
--quirk-reset-brightness \
--quirk-radeon-off \
--quirk-no-fb \
- --quirk-pci-save
+ --quirk-save-pci
}
# Test to see if the kernel has a video driver that is smart enough to
diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
index 1ebf342..452a88a 100755
--- a/pm/sleep.d/99video
+++ b/pm/sleep.d/99video
@@ -27,7 +27,7 @@ for opt in $PM_CMDLINE; do
vbestate-restore) QUIRK_VBESTATE_RESTORE="true" ;;
vga-mode-3) QUIRK_VGA_MODE_3="true" ;;
no-fb) QUIRK_NOFB="true" ;;
- pci-save) QUIRK_PCI_SAVE="true" ;;
+ save-pci) QUIRK_SAVE_PCI="true" ;;
no-chvt) QUIRK_NO_CHVT="true" ;;
none) QUIRK_NONE="true" ;;
*) continue ;;
@@ -165,7 +165,7 @@ suspend_video()
quirk "${QUIRK_VBESTATE_RESTORE}" && vbe_savestate
quirk "${QUIRK_VBEMODE_RESTORE}" && vbe_savemode
quirk "${QUIRK_RADEON_OFF}" && radeon_off
- quirk "${QUIRK_PCI_SAVE}" && pci_save
+ quirk "${QUIRK_SAVE_PCI}" && save_pci
quirk "${QUIRK_VGA_MODE_3}" && vbe vbemode set 3
quirk "${QUIRK_DPMS_SUSPEND}" && vbe dpms suspend
save_fbcon
@@ -173,7 +173,7 @@ suspend_video()
resume_video()
{
# We might need to do one or many of these quirks
- quirk "${QUIRK_PCI_SAVE}" && pci_restore
+ quirk "${QUIRK_SAVE_PCI}" && restore_pci
quirk "${QUIRK_VBE_POST}" && vbe_post
quirk "${QUIRK_VBESTATE_RESTORE}" && vbe_restorestate
quirk "${QUIRK_VBEMODE_RESTORE}" && vbe_restoremode