• Borislav Petkov's avatar
    amd64_edac: Remove two-stage initialization · 360b7f3c
    Borislav Petkov authored
    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>
    360b7f3c
amd64_edac.c 75.4 KB