i7core_edac: Avoid doing multiple probes for the same card
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 30 Jun 2010 04:42:21 +0000 (01:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 2 Jul 2010 21:04:29 +0000 (18:04 -0300)
commit2d95d8158b5ab51339f8482c98c01469c45ff6d7
tree59d8edd1e277112baee013d185792a0d79a1d3c4
parentbda142890e6bdd9b1115715e50b0276ea4b9978a
i7core_edac: Avoid doing multiple probes for the same card

As Nehalem/Nehalem-EP/Westmere devices uses several devices for the same
functionality (memory controller), the default way of proping devices doesn't
work. So, instead of a per-device probe, all devices should be probed at once.

This means that we should block any new attempt of probe, otherwise, it will
try to register the same device several times.

Acked-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c