diff options
author | Borislav Petkov <bp@suse.de> | 2016-05-06 19:44:27 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-05-09 20:41:16 +0200 |
commit | 3f37a36b6282621d7c5a99b6911275f989766996 (patch) | |
tree | 17840f79d2ff81b6da553c06f55aaf7da531c460 /drivers/edac/amd64_edac.h | |
parent | 953dee9bbd245f5515173126b9cc8b1a2c340797 (diff) | |
download | linux-stable-3f37a36b6282621d7c5a99b6911275f989766996.tar.gz linux-stable-3f37a36b6282621d7c5a99b6911275f989766996.tar.bz2 linux-stable-3f37a36b6282621d7c5a99b6911275f989766996.zip |
EDAC, amd64_edac: Drop pci_register_driver() use
- remove homegrown instances counting.
- take F3 PCI device from amd_nb caching instead of F2 which was used with the
PCI core.
With those changes, the driver doesn't need to register a PCI driver and
relies on the northbridges caching which we do anyway on AMD.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Yazen Ghannam <yazen.ghannam@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index c0f248f3aaf9..c08870479054 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -422,7 +422,7 @@ struct low_ops { struct amd64_family_type { const char *ctl_name; - u16 f1_id, f3_id; + u16 f1_id, f2_id; struct low_ops ops; }; |