PNPACPI sets pnpdev->dev.archdata
authorDavid Brownell <david-b@pacbell.net>
Tue, 8 May 2007 07:28:35 +0000 (00:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:08 +0000 (11:15 -0700)
commit55955aad7c09e4d93029d0cf2d360b41891f2fe4
tree7d7bbb9d1e06c833fcc8d110db1f278b026aae80
parent98701d1b0fe98b477b53df89114e6862547f8107
PNPACPI sets pnpdev->dev.archdata

Teach PNPACPI how to hook up its devices to their ACPI nodes, so that
pnpdev->dev.archdata points to the parallel acpi device node.  Previously
this only worked for PCI, leaving a notable hole.

Export "acpi_bus_type" so this can work.

Remove some extraneous whitespace.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/scan.c
drivers/pnp/pnpacpi/core.c
include/acpi/acpi_bus.h