commit | b95d58eaf20eb33c245a2172ec4ecf46bd832309 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Wed Jan 30 18:20:04 2008 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Feb 01 12:26:44 2008 -0500 |
tree | 432e1688aeb0b752a1c25c4cc6711b470b008fe9 | |
parent | 9f24e82d07e2c64467d0c0c04a798de56461fd4a [diff] |
pci: allow multiple calls to pcim_enable_device() There's no reason not to allow multiple calls to pcim_enable_device(). Calls after the first one can simply be noop. All PCI resources will be released when the initial pcim_enable_device() resource is released. This allows more flexibility to managed PCI users. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>