summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-06-27 22:57:09 (GMT)
committerAndi Kleen <andi@basil.nowhere.org>2008-07-16 21:27:07 (GMT)
commit6e906f0e1c8633ed357a64e9861f1822789bee3d (patch)
treec28af871686799724ebdbc335cecfee639d713bb /virt
parent819beac3806a5e986d81f476b999b7fffce1a233 (diff)
downloadlinux-6e906f0e1c8633ed357a64e9861f1822789bee3d.tar.xz
PNP: make resource assignment functions return 0 (success) or -EBUSY (failure)
This patch doesn't change any behavior; it just makes the return values more conventional. This changes pnp_assign_dma() from a void function to one that returns an int, just like the other assignment functions. For now, at least, pnp_assign_dma() always returns 0 (success), so it appears to never fail, just like before. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions