maple: fix device detection
authorAdrian McMenamin <adrian@newgolddream.dyndns.info>
Sun, 24 Feb 2008 14:30:23 +0000 (14:30 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 26 Feb 2008 05:12:09 +0000 (14:12 +0900)
commitbd49666974a12f39eb9c74044e0b1753efcd94c4
tree84637532bd0ae58904abec0940797186885993d5
parentb7fd095602468ee501c5bcc3f9ca788cb3834096
maple: fix device detection

The maple bus driver that went into the kernel mainline in September 2007
contained some bugs which were revealed by the update of the kobj code
for the current release series. Unfortunately those bugs also helped
ensure maple devices were properly detected. This patch (against the
current git) now ensures that devices are properly detected again.

(A previous attempt to fix this by delaying initialisation only partially
 fixed this - as became apparent when the bus was fully loaded)

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/maple/maple.c