diff options
author | Wang Hai <wanghai38@huawei.com> | 2021-07-31 14:38:01 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 15:09:52 +0100 |
commit | 7fe74dfd41c428afb24e2e615470832fa997ff14 (patch) | |
tree | c4e5d6364505a695d03e39c00bfbf5fa9318bdb6 /drivers/net/ethernet/dnet.c | |
parent | a5e63c7d38d548b8dab6c6205e0b6af76899dbf5 (diff) | |
download | linux-7fe74dfd41c428afb24e2e615470832fa997ff14.tar.bz2 |
net: natsemi: 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 'drivers/net/ethernet/dnet.c')
0 files changed, 0 insertions, 0 deletions