]> git.baikalelectronics.ru Git - kernel.git/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)
commit0dc4f17764e0a5d037329e90706a59cf9fa82af1
tree4df7bb1a13ec444b3be94b3575a23d7075ebd902
parent18b5de6a010f41a8a9f9a4e55de78d6f0a2cea91
[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