diff options
author | Christian Krafft <krafft@de.ibm.com> | 2007-04-23 21:35:43 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 21:44:40 +0200 |
commit | 79baf4a60e8aceb2b8a5bed8575885499cb21ce4 (patch) | |
tree | be23358bee3fc9094485b574cea06201f470ad0b /block | |
parent | [POWERPC] cell: use pmi in cpufreq driver (diff) | |
download | linux-79baf4a60e8aceb2b8a5bed8575885499cb21ce4.tar.xz linux-79baf4a60e8aceb2b8a5bed8575885499cb21ce4.zip |
[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 <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions