diff options
Diffstat (limited to 'drivers/edac/tile_edac.c')
-rw-r--r-- | drivers/edac/tile_edac.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/edac/tile_edac.c b/drivers/edac/tile_edac.c index 1d5cf06f6c6b..e99d00976189 100644 --- a/drivers/edac/tile_edac.c +++ b/drivers/edac/tile_edac.c | |||
@@ -145,7 +145,11 @@ static int __devinit tile_edac_mc_probe(struct platform_device *pdev) | |||
145 | mci->edac_ctl_cap = EDAC_FLAG_SECDED; | 145 | mci->edac_ctl_cap = EDAC_FLAG_SECDED; |
146 | 146 | ||
147 | mci->mod_name = DRV_NAME; | 147 | mci->mod_name = DRV_NAME; |
148 | #ifdef __tilegx__ | ||
149 | mci->ctl_name = "TILEGx_Memory_Controller"; | ||
150 | #else | ||
148 | mci->ctl_name = "TILEPro_Memory_Controller"; | 151 | mci->ctl_name = "TILEPro_Memory_Controller"; |
152 | #endif | ||
149 | mci->dev_name = dev_name(&pdev->dev); | 153 | mci->dev_name = dev_name(&pdev->dev); |
150 | mci->edac_check = tile_edac_check; | 154 | mci->edac_check = tile_edac_check; |
151 | 155 | ||