ghes: add the needed hooks for EDAC error report
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 15 Feb 2013 09:10:39 +0000 (06:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Feb 2013 22:41:51 +0000 (19:41 -0300)
In order to allow reporting errors via EDAC, add hooks for:

1) register an EDAC driver;
2) unregister an EDAC driver;
3) report errors via EDAC.

As the EDAC driver will need to access the ghes structure, adds it
as one of the parameters for ghes_do_proc.

Acked-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found