aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp_ctrl.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2006-12-21 20:01:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 18:50:05 -0500
commit15232ece5566710d24c81ac3dd629f7556a92818 (patch)
treee1648367c659ce415181ca2b602c8d60bc8a93d8 /drivers/pci/hotplug/pciehp_ctrl.c
parenta0f018daa9955d123b9257b08bcac2d59e295967 (diff)
pciehp: cleanup pciehp.h
This patch cleans up pciehp.h. This has no functional change. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_ctrl.c')
-rw-r--r--drivers/pci/hotplug/pciehp_ctrl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/pciehp_ctrl.c b/drivers/pci/hotplug/pciehp_ctrl.c
index 5bca9212f5e1..072befa345a7 100644
--- a/drivers/pci/hotplug/pciehp_ctrl.c
+++ b/drivers/pci/hotplug/pciehp_ctrl.c
@@ -655,7 +655,7 @@ static void interrupt_event_handler(struct controller *ctrl)
655 warn("Not a valid state\n"); 655 warn("Not a valid state\n");
656 return; 656 return;
657 } 657 }
658 info(msg_button_cancel, slot_name(p_slot)); 658 info("PCI slot #%s - action canceled due to button press.\n", slot_name(p_slot));
659 p_slot->state = STATIC_STATE; 659 p_slot->state = STATIC_STATE;
660 } 660 }
661 /* ***********Button Pressed (No action on 1st press...) */ 661 /* ***********Button Pressed (No action on 1st press...) */
@@ -668,12 +668,12 @@ static void interrupt_event_handler(struct controller *ctrl)
668 /* slot is on */ 668 /* slot is on */
669 dbg("slot is on\n"); 669 dbg("slot is on\n");
670 p_slot->state = BLINKINGOFF_STATE; 670 p_slot->state = BLINKINGOFF_STATE;
671 info(msg_button_off, slot_name(p_slot)); 671 info("PCI slot #%s - powering off due to button press.\n", slot_name(p_slot));
672 } else { 672 } else {
673 /* slot is off */ 673 /* slot is off */
674 dbg("slot is off\n"); 674 dbg("slot is off\n");
675 p_slot->state = BLINKINGON_STATE; 675 p_slot->state = BLINKINGON_STATE;
676 info(msg_button_on, slot_name(p_slot)); 676 info("PCI slot #%s - powering on due to button press.\n", slot_name(p_slot));
677 } 677 }
678 678
679 /* Wait for exclusive access to hardware */ 679 /* Wait for exclusive access to hardware */