Tejun Heo 7f375f325f 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 <htejun@gmail.com>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-03-09 15:36:30 -08:00
..
2007-02-17 19:23:03 +01:00
2005-10-18 08:26:15 -07:00
2006-12-04 02:00:22 -05:00
2006-09-26 17:43:53 -07:00
2006-10-04 07:55:30 -07:00
2006-12-01 14:36:56 -08:00
2006-09-26 17:43:54 -07:00
2007-02-07 15:50:04 -08:00
2006-12-20 10:54:43 -08:00