On Thu, Jan 10, 2013 at 04:40:21PM -0700, Toshi Kani wrote: > Added sys_hotplug.c, which is the system device hotplug framework code. > > shp_register_handler() allows modules to register their hotplug handlers > to the framework. shp_submit_req() provides the interface to submit > a hotplug or online/offline request of system devices. The request is > then put into hp_workqueue. shp_start_req() calls all registered handlers > in ascending order for each phase. If any handler failed in validate or > execute phase, shp_start_req() initiates its rollback procedure. > > Signed-off-by: Toshi Kani <toshi.kani@xxxxxx> > --- > drivers/base/Makefile | 1 > drivers/base/sys_hotplug.c | 313 ++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 314 insertions(+) > create mode 100644 drivers/base/sys_hotplug.c > > diff --git a/drivers/base/Makefile b/drivers/base/Makefile > index 5aa2d70..2e9b2f1 100644 > --- a/drivers/base/Makefile > +++ b/drivers/base/Makefile > @@ -21,6 +21,7 @@ endif > obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o > obj-$(CONFIG_REGMAP) += regmap/ > obj-$(CONFIG_SOC_BUS) += soc.o > +obj-y += sys_hotplug.o No option to select this for systems that don't need it? If not, then put it up higher with all of the other code for the core. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html