Skip to content
Commit 79d40370 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Alex Williamson
Browse files

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 5c2fefd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment