• L
    ACPI: add acpi_bus_ops in acpi_device · c4168bff
    Li Shaohua 提交于
    Add acpi_bus_ops in acpi_device to support acpi hot plug.
    
    NOTE:	Two methods .add and .start in acpi_driver.ops are
    	called separately to probe ACPI devices, while only
    	.probe method is called in driver model.
    	As executing .add and .start separately is critical
    	for ACPI device hot plug, we use acpi_bus_ops to
    	distinguish different code path.
    Signed-off-by: NZhang Rui <rui.zhang@intel.com>
    Signed-off-by: NLen Brown <len.brown@intel.com>
    c4168bff
scan.c 30.8 KB