]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/virtio_config.h
Fix compile warning in kernel/params.c
[linux-2.6-omap-h63xx.git] / include / linux / virtio_config.h
index 5a30cfb7934b3fb02caefe7cdf988d3ec6df0953..bf8ec283b232af65116af4fa338ad602f1b8d798 100644 (file)
  * @get_features: get the array of feature bits for this device.
  *     vdev: the virtio_device
  *     Returns the first 32 feature bits (all we currently need).
- * @set_features: confirm what device features we'll be using.
+ * @finalize_features: confirm what device features we'll be using.
  *     vdev: the virtio_device
- *     feature: the first 32 feature bits
+ *     This gives the final feature bits for the device: it can change
+ *     the dev->feature bits if it wants.
  */
 struct virtio_config_ops
 {
@@ -79,7 +80,7 @@ struct virtio_config_ops
                                     void (*callback)(struct virtqueue *));
        void (*del_vq)(struct virtqueue *vq);
        u32 (*get_features)(struct virtio_device *vdev);
-       void (*set_features)(struct virtio_device *vdev, u32 features);
+       void (*finalize_features)(struct virtio_device *vdev);
 };
 
 /* If driver didn't advertise the feature, it will never appear. */