# \[PATCH\] virtio.h: correct comment for struct virtio\_driver

- From: Wang Sheng-Hui \<hidden\>
- Date: 2011-08-25 13:04:05 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2011/08/15802822
- Thread: https://ratatoskr.run/virtualization/2011/08/15802822/t.md

```text
The patch is against 3.0.

Signed-off-by: Wang Sheng-Hui <redacted>
---
 include/linux/virtio.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/virtio.h b/include/linux/virtio.h
index 7108857..e0a1973 100644
--- a/include/linux/virtio.h
+++ b/include/linux/virtio.h
@@ -126,10 +126,10 @@ void unregister_virtio_device(struct virtio_device *dev);
  * virtio_driver - operations for a virtio I/O driver
  * @driver: underlying device driver (populate name and owner).
  * @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 driver.
  * @feature_table_size: number of entries in the feature table array.
  * @probe: the function to call when a device is found.  Returns 0 or -errno.
- * @remove: the function when a device is removed.
+ * @remove: the function to call when a device is removed.
  * @config_changed: optional function to call when the device configuration
  *    changes; may be called in interrupt context.
  */
-- 
1.7.1
```
