diff options
author | Pavel Machek <pavel@ucw.cz> | 2006-01-08 20:11:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 18:00:11 -0800 |
commit | 072888fa60af86c3159f9f3ed4e34364861bab3a (patch) | |
tree | 84d0b1a72606aee7d371c002a31215aa68e40ffb /drivers/pci/hotplug/ibmphp_core.c | |
parent | 8169b5d2384a0acd9ea3bb86bf5988cd7d62d03a (diff) | |
download | linux-stable-072888fa60af86c3159f9f3ed4e34364861bab3a.tar.gz linux-stable-072888fa60af86c3159f9f3ed4e34364861bab3a.tar.bz2 linux-stable-072888fa60af86c3159f9f3ed4e34364861bab3a.zip |
[PATCH] PCI Hotplug: fix up coding style issues
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_core.c')
-rw-r--r-- | drivers/pci/hotplug/ibmphp_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c index aabf1e70b528..dc59da675c08 100644 --- a/drivers/pci/hotplug/ibmphp_core.c +++ b/drivers/pci/hotplug/ibmphp_core.c @@ -235,12 +235,12 @@ static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) { int rc = 0; struct slot *pslot; - u8 cmd; + u8 cmd = 0x00; /* avoid compiler warning */ debug("set_attention_status - Entry hotplug_slot[%lx] value[%x]\n", (ulong) hotplug_slot, value); ibmphp_lock_operations(); - cmd = 0x00; // avoid compiler warning + if (hotplug_slot) { switch (value) { |