diff options
author | Wang Hai <wanghai38@huawei.com> | 2021-07-28 15:43:13 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-04 11:56:46 +0200 |
commit | 4f362e8bc99cd18d5cdf6d846d5e32f561bf4c15 (patch) | |
tree | 23539ddcc0e12ff9c910f56dd46f746a3bd59139 /drivers/block | |
parent | 84dd119010202f29385e9d26fb25e36a436ba9e3 (diff) |
tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
[ Upstream commit 76a16be07b209a3f507c72abe823bd3af1c8661a ]
Replace pci_enable_device() with pcim_enable_device(),
pci_disable_device() and pci_release_regions() will be
called in release automatically.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions