EDAC, altera: Handle Arria10 SDRAM child node
authorThor Thayer <tthayer@opensource.altera.com>
Wed, 25 May 2016 16:29:41 +0000 (11:29 -0500)
committerBorislav Petkov <bp@suse.de>
Wed, 8 Jun 2016 11:23:09 +0000 (13:23 +0200)
commitab564cb51ee60e845f65998491a703adbae52305
tree2495582c589a4984ef6cecf444ee32a8309179fc
parent13ab8448d2c9fbb3e0427cb5332f5ddbdf3ffc2a
EDAC, altera: Handle Arria10 SDRAM child node

Separate the device match arrays for each platform to prevent CycloneV
matches when calling of_platform_populate() on the Arria10 ECC manager
node.

If the SDRAM is a child node of ECC manager, call probe function via
of_platform_populate().

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1464193783-5071-4-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c