drivers/edac: add edac_mc_find API
authorDouglas Thompson <dougthompson@xmission.com>
Thu, 19 Jul 2007 08:49:31 +0000 (01:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:53 +0000 (10:04 -0700)
commit5da0831c598f94582bce6bb0a55b8de2f9897cb1
tree463ccd5d3c6c83eac8562610567c5f8bfede6a45
parent8ca47e00690914a9e5e6c734baa37c829a2f2fa1
drivers/edac: add edac_mc_find API

This simple patch adds an important CORE API for EDAC that EDAC drivers can
use to find their edac_mc control structure by passing a mem_ctl_info
'instance' value

Needed for subsequent patches

Signed-off-by: Douglas Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/edac_mc.c
drivers/edac/edac_mc.h