]> git.baikalelectronics.ru Git - kernel.git/commit
amd64_edac: Remove two-stage initialization
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 15 Oct 2010 17:25:38 +0000 (19:25 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:34:03 +0000 (11:34 +0100)
commit677a6491b6bebaf90f4de2d44d1cbd74e87670ad
tree1737a8de8539548fc7a6ba965798234ba62c5ee7
parent0ecca17847f358fdc1dc7a45af0af82cef998a2a
amd64_edac: Remove two-stage initialization

Now that all prerequisites are in place, drop the two-stage driver
instances initialization in favor of the following simple init sequence:

1. Probe PCI device: we only test ECC capabilities here and if none exit
early.

2. If the hw supports ECC and it is/can be enabled, we init the per-node
instance.

Remove "amd64_" prefix from static functions touched, while at it.

There actually should be no visible functional change resulting from
this patch.

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