[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)
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>

No differences found