mpc85xx_edac: fix error: too few arguments to function 'edac_mc_alloc'
authorKim Phillips <kim.phillips@freescale.com>
Thu, 7 Jun 2012 00:49:42 +0000 (19:49 -0500)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 14:49:51 +0000 (11:49 -0300)
commitb9bc5ddb1b76d3f7ee14c533300aa95907c6969e
tree7cb950c8eaf0c3031553426d2440589ec6b1b12c
parent2cbb587d3bc41a305168e91b4f3c5b6944a12566
mpc85xx_edac: fix error: too few arguments to function 'edac_mc_alloc'

commit ca0907b "edac: Remove the legacy EDAC ABI" broke mpc85xx_edac
in the following manner:

mpc85xx_edac.c:983:35: error: too few arguments to function 'edac_mc_alloc'

this patch puts back the missing 'layers' argument.

[mchehab@redhat.com: As Ben sent a similar fix, I added his SOB on this patch]
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/mpc85xx_edac.c