]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Fix windfarm platform device usage
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Oct 2006 01:47:31 +0000 (11:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Oct 2006 03:56:13 +0000 (13:56 +1000)
commitcfc941dc814f8ba2a98bfb1c5029b5e91508f91c
tree6852db04a76e5a13c295f906c6f9acc88837a372
parent106323c911598745f9388c616d63957326ab7953
[POWERPC] Fix windfarm platform device usage

The windfarm code uses a struct device_driver instead of
platform_driver, which can cause crashes if any of the callbacks are
called (like on module removal). This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/windfarm_pm112.c
drivers/macintosh/windfarm_pm81.c
drivers/macintosh/windfarm_pm91.c