From: Tejun Heo Date: Sun, 25 Feb 2007 12:36:01 +0000 (-0800) Subject: PCI: allow multiple calls to pcim_pin_device() X-Git-Tag: v2.6.21-rc4~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f375f325feacd8a628e00e0d53390a4f6d8abc2;p=pandora-kernel.git 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 Acked-by: Ian McDonald Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed