diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2002-10-24 01:01:51 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2002-10-24 01:01:51 -0700 |
| commit | df0cca210c3be40f9738891a15b0e00b7313a85c (patch) | |
| tree | ed26217882bf0497327a172ef921bf0bfa34bf8d /include/linux/device.h | |
| parent | be75e7716cfe4d9141e7421c168b3a6df74c22e1 (diff) | |
driver core: add support for calling /sbin/hotplug when classes are found and removed from the system.
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 3dd9a4081298..2e0948e96d68 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -187,6 +187,8 @@ struct device_class { int (*add_device)(struct device *); void (*remove_device)(struct device *); + int (*hotplug)(struct device *dev, char **envp, + int num_envp, char *buffer, int buffer_size); }; extern int devclass_register(struct device_class *); |
