diff options
author | Wang Hai <wanghai38@huawei.com> | 2021-07-28 20:11:07 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-28 13:43:49 +0100 |
commit | 89fb62fde3b226f99b7015280cf132e2a7438edf (patch) | |
tree | 535d8ba49eda9d87d569d6ae85800fb3628295b3 /kernel | |
parent | 1e60cebf82948cfdc9497ea4553bab125587593c (diff) |
sis900: Fix missing pci_disable_device() in probe and remove
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions