[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090415152704.b7ebddc7.akpm@linux-foundation.org>
Date: Wed, 15 Apr 2009 15:27:04 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Harry Ciao <qingtao.cao@...driver.com>
Cc: norsk5@...oo.com, michael@...erman.id.au,
bluesmoke-devel@...ts.sourceforge.net, linuxppc-dev@...abs.org,
linux-kernel@...r.kernel.org
Subject: Re: [v2 PATCH 1/3] EDAC: Add CPC925 Memory Controller driver
On Mon, 13 Apr 2009 14:05:14 +0800
Harry Ciao <qingtao.cao@...driver.com> wrote:
> Introduce IBM CPC925 EDAC driver, which makes use of ECC, CPU and
> HyperTransport Link error detections and corrections on the IBM
> CPC925 Bridge and Memory Controller.
A wee cleanup:
--- a/drivers/edac/cpc925_edac.c~edac-add-cpc925-memory-controller-driver-cleanup
+++ a/drivers/edac/cpc925_edac.c
@@ -291,9 +291,6 @@ struct cpc925_dev_info {
void (*check)(struct edac_device_ctl_info *edac_dev);
};
-
-static int edac_mc_idx;
-
/* Get total memory size from Open Firmware DTB */
static void get_total_mem(struct cpc925_mc_pdata *pdata)
{
@@ -866,6 +863,7 @@ static int cpc925_mc_get_channels(void _
static int __devinit cpc925_probe(struct platform_device *pdev)
{
+ static int edac_mc_idx;
struct mem_ctl_info *mci;
void __iomem *vbase;
struct cpc925_mc_pdata *pdata;
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists