diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-13 00:16:33 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 08:46:35 -0400 |
commit | 20f77f5654042cf484d8964b618faf9d620f639b (patch) | |
tree | d5007f2e5ec72062532b7930ef0a6f68708d9658 /include/linux/virtio.h | |
parent | 8ebf975608aaebd7feb33d77f07ba21a6380e086 (diff) |
virtio: fix obsolete documentation on probe function
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/virtio.h')
-rw-r--r-- | include/linux/virtio.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 06005fa9e982..9410394bbf96 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h | |||
@@ -99,8 +99,7 @@ void unregister_virtio_device(struct virtio_device *dev); | |||
99 | * @id_table: the ids serviced by this driver. | 99 | * @id_table: the ids serviced by this driver. |
100 | * @feature_table: an array of feature numbers supported by this device. | 100 | * @feature_table: an array of feature numbers supported by this device. |
101 | * @feature_table_size: number of entries in the feature table array. | 101 | * @feature_table_size: number of entries in the feature table array. |
102 | * @probe: the function to call when a device is found. Returns a token for | 102 | * @probe: the function to call when a device is found. Returns 0 or -errno. |
103 | * remove, or PTR_ERR(). | ||
104 | * @remove: the function when a device is removed. | 103 | * @remove: the function when a device is removed. |
105 | * @config_changed: optional function to call when the device configuration | 104 | * @config_changed: optional function to call when the device configuration |
106 | * changes; may be called in interrupt context. | 105 | * changes; may be called in interrupt context. |