sparc/PCI: Use PCI_UNKNOWN for unknown power state
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 20 May 2013 23:15:20 +0000 (17:15 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 20 May 2013 23:45:51 +0000 (17:45 -0600)
commitde7f2b1bdf02f6b44410dceb7295284c2a75a304
treecaa959a7f07d9ec54b13d00275a40aaa0fee350f
parentc2defb5f78e249a1402bc2af969a151af0391de8
sparc/PCI: Use PCI_UNKNOWN for unknown power state

Previously we initialized dev->current_state to 4 (PCI_D3cold), but I think
we wanted PCI_UNKNOWN (5) here based on the comment and the fact that the
generic version of this code, pci_setup_device(), uses PCI_UNKNOWN.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pci.c