diff options
| author | David Brownell <[email protected]> | 2007-05-08 07:28:35 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-08 18:15:08 +0000 |
| commit | 55955aad7c09e4d93029d0cf2d360b41891f2fe4 (patch) | |
| tree | 7d7bbb9d1e06c833fcc8d110db1f278b026aae80 /drivers/acpi/scan.c | |
| parent | (re)register_binfmt returns with -EBUSY (diff) | |
| download | kernel-55955aad7c09e4d93029d0cf2d360b41891f2fe4.tar.gz kernel-55955aad7c09e4d93029d0cf2d360b41891f2fe4.zip | |
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 <[email protected]>
Cc: Adam Belay <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/acpi/scan.c')
| -rw-r--r-- | drivers/acpi/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index d80dd84e5bfd..6b3b8a522476 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -302,7 +302,7 @@ static void acpi_device_shutdown(struct device *dev) return ; } -static struct bus_type acpi_bus_type = { +struct bus_type acpi_bus_type = { .name = "acpi", .suspend = acpi_device_suspend, .resume = acpi_device_resume, |
