aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/virtio.h
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2011-08-25 21:04:05 +0800
committerRusty Russell <rusty@rustcorp.com.au>2011-11-02 11:40:59 +1030
commit5f41f8bfc95e84536207b2af8918f2e674164a42 (patch)
tree8494d4762a7ab221e6fd49e32ec25edd063abb1c /include/linux/virtio.h
parentvirtio-net: Use virtio_config_val() for retrieving config (diff)
downloadlinux-dev-5f41f8bfc95e84536207b2af8918f2e674164a42.tar.xz
linux-dev-5f41f8bfc95e84536207b2af8918f2e674164a42.zip
virtio.h: correct comment for struct virtio_driver
The patch is against 3.0. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/virtio.h')
-rw-r--r--include/linux/virtio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/virtio.h b/include/linux/virtio.h
index 851ebf1a4476..4c069d8bd740 100644
--- a/include/linux/virtio.h
+++ b/include/linux/virtio.h
@@ -131,10 +131,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.
*/