WSL2-Linux-Kernel/samples/vfio-mdev
Bhumika Goyal 79d40370e8 vfio-mdev/samples: make mdev_fops const and static
Make this const as it is only passed to a const argument of the function
mdev_register_device. Make it static as it is not referenced in any
other file.

Structure found using Coccinelle and changes done by hand.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2017-10-02 12:40:05 -06:00
..
Makefile vfio-mdev: Fix mtty sample driver building 2016-12-30 08:13:30 -07:00
mtty.c vfio-mdev/samples: make mdev_fops const and static 2017-10-02 12:40:05 -06:00