diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2002-09-26 21:21:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2002-09-26 21:21:46 -0700 |
| commit | 7b5eb7a9c0a9b8efd45ca86b79a3970f936b60aa (patch) | |
| tree | daa5c05f9f86573098fc3e2f7e4615d87c34e72c /include | |
| parent | 82ba39ba11aeca738a3a389c2a6fc2123c252156 (diff) | |
add hotplug support to the driver core for devices, if their bus type supports it.
Diffstat (limited to 'include')
| -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 6053349e4303..ef76b15fa930 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -67,6 +67,8 @@ struct bus_type { int (*match)(struct device * dev, struct device_driver * drv); struct device * (*add) (struct device * parent, char * bus_id); + int (*hotplug) (struct device *dev, char **envp, + int num_envp, char *buffer, int buffer_size); }; |
