virtio: fix obsolete documentation on probe function

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2009-06-12 22:16:33 -06:00
parent 8ebf975608
commit 20f77f5654
1 changed files with 1 additions and 2 deletions

View File

@ -99,8 +99,7 @@ void unregister_virtio_device(struct virtio_device *dev);
* @id_table: the ids serviced by this driver. * @id_table: the ids serviced by this driver.
* @feature_table: an array of feature numbers supported by this device. * @feature_table: an array of feature numbers supported by this device.
* @feature_table_size: number of entries in the feature table array. * @feature_table_size: number of entries in the feature table array.
* @probe: the function to call when a device is found. Returns a token for * @probe: the function to call when a device is found. Returns 0 or -errno.
* remove, or PTR_ERR().
* @remove: the function when a device is removed. * @remove: the function when a device is removed.
* @config_changed: optional function to call when the device configuration * @config_changed: optional function to call when the device configuration
* changes; may be called in interrupt context. * changes; may be called in interrupt context.