[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)
commit10270613fb4d5a44c335cfa13e9626bf5743c01d
tree6852db04a76e5a13c295f906c6f9acc88837a372
parent9f2545c11869868fd3cde7098d99e690891e442c
[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