Skip to content
  • Li Shaohua's avatar
    ACPI: add acpi_bus_ops in acpi_device · c4168bff
    Li Shaohua authored
    
    
    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: default avatarZhang Rui <rui.zhang@intel.com>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    c4168bff