diff options
| author | Tejun Heo <[email protected]> | 2007-02-25 04:36:01 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2007-03-09 15:36:30 -0800 |
| commit | 7f375f325feacd8a628e00e0d53390a4f6d8abc2 (patch) | |
| tree | 434d3d5b5bf75e85515b514b12e2f08205dec079 /include/linux/debugobjects.h | |
| parent | a967e127d0233f2472af64597de3f3920872310c (diff) | |
PCI: allow multiple calls to pcim_pin_device()
Sanity check in pcim_pin_device() was too restrictive in that it didn't
allow multiple calls to the function, which is against the devres
philosohpy of fire-and-forget. Track pinned status separately and allow
pinning multiple times.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Ian McDonald <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions