From: Christian Krafft Date: Mon, 23 Apr 2007 19:35:43 +0000 (+0200) Subject: [POWERPC] add check for initialized driver data to pmi driver X-Git-Tag: v2.6.22-rc1~1109^2~71^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79baf4a60e8aceb2b8a5bed8575885499cb21ce4;p=pandora-kernel.git [POWERPC] add check for initialized driver data to pmi driver This patch adds a check for the private driver data to be initialized. The bug showed up, as the caller found a pmi device by it's type. Whereas the pmi driver probes for the type and the name. Since the name was not as the driver expected, it did not initialize. A more relaxed probing will be supplied with an extra patch, too. Signed-off-by: Christian Krafft Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed