aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/ppc4xx_edac.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 15:54:41 -0400
committerBorislav Petkov <bp@suse.de>2015-03-20 12:50:07 -0400
commit1afaa05515212b136d96a48b2ba2251f40437d87 (patch)
tree75fa98d58e6a2c42b37d800b0d0955f7894c6784 /drivers/edac/ppc4xx_edac.c
parent18b44b2b950a0746abe7466021e842c6d7e96443 (diff)
EDAC: Constify of_device_id array
of_device_id is always used as const. See driver.of_match_table and open firmware functions. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Doug Thompson <dougthompson@xmission.com> Cc: Robert Richter <rric@kernel.org> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: Johannes Thumshirn <johannes.thumshirn@men.de> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Sören Brinkmann <soren.brinkmann@xilinx.com> Cc: linux-edac@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/1426535685-25996-10-git-send-email-fabf@skynet.be Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/ppc4xx_edac.c')
-rw-r--r--drivers/edac/ppc4xx_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c
index 1b64fd060821..3515b381c131 100644
--- a/drivers/edac/ppc4xx_edac.c
+++ b/drivers/edac/ppc4xx_edac.c
@@ -193,7 +193,7 @@ static int ppc4xx_edac_remove(struct platform_device *device);
193 * Device tree node type and compatible tuples this driver can match 193 * Device tree node type and compatible tuples this driver can match
194 * on. 194 * on.
195 */ 195 */
196static struct of_device_id ppc4xx_edac_match[] = { 196static const struct of_device_id ppc4xx_edac_match[] = {
197 { 197 {
198 .compatible = "ibm,sdram-4xx-ddr2" 198 .compatible = "ibm,sdram-4xx-ddr2"
199 }, 199 },