diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
commit | bbb20089a3275a19e475dbc21320c3742e3ca423 (patch) | |
tree | 216fdc1cbef450ca688135c5b8969169482d9a48 /drivers/edac/amd8111_edac.c | |
parent | 3e48e656903e9fd8bc805c6a2c4264d7808d315b (diff) | |
parent | 657a77fa7284d8ae28dfa48f1dc5d919bf5b2843 (diff) |
Merge branch 'dmaengine' into async-tx-next
Conflicts:
crypto/async_tx/async_xor.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/pci.c
drivers/md/raid5.c
Diffstat (limited to 'drivers/edac/amd8111_edac.c')
-rw-r--r-- | drivers/edac/amd8111_edac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/edac/amd8111_edac.c b/drivers/edac/amd8111_edac.c index 2cb58ef743e0..35b78d04bbfa 100644 --- a/drivers/edac/amd8111_edac.c +++ b/drivers/edac/amd8111_edac.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #define AMD8111_EDAC_MOD_STR "amd8111_edac" | 37 | #define AMD8111_EDAC_MOD_STR "amd8111_edac" |
38 | 38 | ||
39 | #define PCI_DEVICE_ID_AMD_8111_PCI 0x7460 | 39 | #define PCI_DEVICE_ID_AMD_8111_PCI 0x7460 |
40 | static int edac_dev_idx; | ||
41 | 40 | ||
42 | enum amd8111_edac_devs { | 41 | enum amd8111_edac_devs { |
43 | LPC_BRIDGE = 0, | 42 | LPC_BRIDGE = 0, |
@@ -377,7 +376,7 @@ static int amd8111_dev_probe(struct pci_dev *dev, | |||
377 | * edac_device_ctl_info, but make use of existing | 376 | * edac_device_ctl_info, but make use of existing |
378 | * one instead. | 377 | * one instead. |
379 | */ | 378 | */ |
380 | dev_info->edac_idx = edac_dev_idx++; | 379 | dev_info->edac_idx = edac_device_alloc_index(); |
381 | dev_info->edac_dev = | 380 | dev_info->edac_dev = |
382 | edac_device_alloc_ctl_info(0, dev_info->ctl_name, 1, | 381 | edac_device_alloc_ctl_info(0, dev_info->ctl_name, 1, |
383 | NULL, 0, 0, | 382 | NULL, 0, 0, |