Skip to content
Commit 360b7f3c authored by Borislav Petkov's avatar Borislav Petkov
Browse files

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: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 2299ef71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment