X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fedac%2Famd64_edac.c;h=8521401bbd751406e6f2752e10868f63c7e3b48a;hp=76f7cc0ee14977f8a940b24e4b19eaeb6888b8cf;hb=c029e405bd3d4e92d09fbbc97c03952585986ebe;hpb=525906bc898d712f21e5bfcfc85ab0e517e3d086 diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 76f7cc0ee149..8521401bbd75 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -1,5 +1,5 @@ #include "amd64_edac.h" -#include +#include static struct edac_pci_ctl_info *amd64_ctl_pci; @@ -2934,7 +2934,7 @@ static int __init amd64_edac_init(void) * to finish initialization of the MC instances. */ err = -ENODEV; - for (nb = 0; nb < num_k8_northbridges; nb++) { + for (nb = 0; nb < k8_northbridges.num; nb++) { if (!pvt_lookup[nb]) continue;