NVMe: Enable and disable the PCI device
authorShane Michael Matthews <shane.matthews@intel.com>
Tue, 1 Feb 2011 13:49:30 +0000 (08:49 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:53 +0000 (15:52 -0400)
commit0ee5a7d7cb9309bd393a25c395f19fb12a842602
tree4aae6ff2e536b735336f2216dfd2aa490b9c984a
parent3f85d50b609e8a5ef151656210203a6e94c19538
NVMe: Enable and disable the PCI device

Call pci_enable_device_mem() at initialisation and pci_disable_device
at exit.

Signed-off-by: Shane Michael Matthews <shane.matthews@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c