]> err.no Git - linux-2.6/commit
[PATCH] ppc64: tidy up vio devices fake parent
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 22 Jun 2005 00:15:54 +0000 (17:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:31 +0000 (18:46 -0700)
commitac5b33c9bcf1c05ae949b026a51d7f8f9573591c
tree4df7bb1a13ec444b3be94b3575a23d7075ebd902
parent145d01e4287b8cbf50f87c3283e33bf5c84e8468
[PATCH] ppc64: tidy up vio devices fake parent

Currently we dynamically allocate the fake parent device for all devices on
the vio bus.  This patch statically allocates it.  This also allows us to
reuse it for the iSeries "generic" vio device (that is used for passing to
dma routines when communicating with the hypervisor without a device
involved).  Also unexport vio_bus_type as it is never used in modules.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/vio.c