aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/lguest')
-rw-r--r--drivers/lguest/lguest_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/lguest/lguest_device.c b/drivers/lguest/lguest_device.c
index 0dc30ffde5ad..595d73197016 100644
--- a/drivers/lguest/lguest_device.c
+++ b/drivers/lguest/lguest_device.c
@@ -381,6 +381,11 @@ error:
381 return PTR_ERR(vqs[i]); 381 return PTR_ERR(vqs[i]);
382} 382}
383 383
384static const char *lg_bus_name(struct virtio_device *vdev)
385{
386 return "";
387}
388
384/* The ops structure which hooks everything together. */ 389/* The ops structure which hooks everything together. */
385static struct virtio_config_ops lguest_config_ops = { 390static struct virtio_config_ops lguest_config_ops = {
386 .get_features = lg_get_features, 391 .get_features = lg_get_features,
@@ -392,6 +397,7 @@ static struct virtio_config_ops lguest_config_ops = {
392 .reset = lg_reset, 397 .reset = lg_reset,
393 .find_vqs = lg_find_vqs, 398 .find_vqs = lg_find_vqs,
394 .del_vqs = lg_del_vqs, 399 .del_vqs = lg_del_vqs,
400 .bus_name = lg_bus_name,
395}; 401};
396 402
397/* 403/*