diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-15 07:57:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-21 11:06:36 -0300 |
commit | 4ab19b06acffd2278cd37995927c85a9acfd00db (patch) | |
tree | 348d465a0a50f9a04a7e3bf21bc49f371216a61d /drivers/edac/edac_mc.c | |
parent | 3d958823e26979a73d73c0343041d64813702a5b (diff) | |
download | op-kernel-dev-4ab19b06acffd2278cd37995927c85a9acfd00db.zip op-kernel-dev-4ab19b06acffd2278cd37995927c85a9acfd00db.tar.gz |
edac: initialize the core earlier
In order for it to work with it builtin, the EDAC core should
be initialized earlier, otherwise the ghes_edac driver initializes
before edac_mc_sysfs_init() being called:
...
[ 4.998373] EDAC MC0: Giving out device to 'ghes_edac.c' 'ghes_edac': DEV ghes
...
[ 4.998373] EDAC MC1: Giving out device to 'ghes_edac.c' 'ghes_edac': DEV ghes
[ 6.519495] EDAC MC: Ver: 3.0.0
[ 6.523749] EDAC DEBUG: edac_mc_sysfs_init: device mc created
The net result is that no EDAC sysfs nodes will appear.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_mc.c')
0 files changed, 0 insertions, 0 deletions