amd64_edac: Allocate driver instances dynamically
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 13 Oct 2010 14:11:59 +0000 (16:11 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:33:57 +0000 (11:33 +0100)
commitcc4d8860fc37dd315b16a43202400d822ab63221
tree9058c36eb01cd7186a1bf11df21df235dc3e904a
parent24f9a7fe3f19f3fd310f556364d01a22911724b3
amd64_edac: Allocate driver instances dynamically

Remove static allocation in favor of dynamically allocating space for as
many driver instances as northbridges present on the system.

There should be no functional change resulting from this patch.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h