Subject: [PATCH] [acpi driver model] Add devices discovered in traditional way to new device tree - Call acpi_device_create_add() from drivers/acpi/scan.c. Signed-off-by: Patrick Mochel --- drivers/acpi/scan.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) applies-to: 37f822b6c67b4baae0aeaf0d1448a5cbacb34694 a324851aba4fa388fea98dbe4efdc7f7c20b57cb diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index e4696d7..c6e2e01 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1090,6 +1090,13 @@ acpi_add_single_object(struct acpi_devic acpi_register_device(device, parent); /* + * Add the device to the new ACPI device tree. + * + * TODO: We should probably retain this return value.. + */ + acpi_device_create_add(device); + + /* * Bind _ADR-Based Devices * ----------------------- * If there's a a bus address (_ADR) then we utilize the parent's --- 0.99.9.GIT