[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-edac
Subject: Re: [PATCH v5 3/4] edac: Add APM X-Gene SoC EDAC driver
From: Dann Frazier <dann.frazier () canonical ! com>
Date: 2014-09-30 14:45:20
Message-ID: CALdTtntGh6kcz+UxOsUsUO_mNZQAzUsgECvzD7CBeEGMswrPsw () mail ! gmail ! com
[Download RAW message or body]
On Sat, Aug 23, 2014 at 1:23 AM, Loc Ho <lho@apm.com> wrote:
> This patch adds support for the APM X-Gene SoC EDAC driver. It
> requires ARM64 EDAC support patch [1] to compile due to
> dependence on MC module which calls an unused software memory
> scrub function.
>
> [1] http://www.spinics.net/lists/arm-kernel/msg324093.html
>
> Signed-off-by: Feng Kan <fkan@apm.com>
> Signed-off-by: Loc Ho <lho@apm.com>
> ---
> drivers/edac/Kconfig | 9 +-
> drivers/edac/Makefile | 3 +
> drivers/edac/xgene_edac.c | 2132 +++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 2143 insertions(+), 1 deletions(-)
> create mode 100644 drivers/edac/xgene_edac.c
>
[...]
> +#ifdef CONFIG_OF
> +static struct of_device_id xgene_edac_mc_of_match[] = {
> + { .compatible = "apm,xgene-edac-mc" },
> + {},
> +};
> +MODULE_DEVICE_TABLE(of, xgene_edac_of_match);
> +#endif
Something I apparently forgot to mention when I tested v3 was that I
had to manually fix this up to get it to build:
diff --git a/drivers/edac/xgene_edac.c b/drivers/edac/xgene_edac.c
index d69c2e5..2f436d45 100644
--- a/drivers/edac/xgene_edac.c
+++ b/drivers/edac/xgene_edac.c
@@ -452,7 +452,7 @@ static struct of_device_id xgene_edac_mc_of_match[] = {
{ .compatible = "apm,xgene-edac-mc" },
{},
};
-MODULE_DEVICE_TABLE(of, xgene_edac_of_match);
+MODULE_DEVICE_TABLE(of, xgene_edac_mc_of_match);
#endif
static struct platform_driver xgene_edac_mc_driver = {
--
To unsubscribe from this list: send the line "unsubscribe linux-edac" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic