commit | 79d40370e8d31886a9413e2ee115fc426b4ae97e | [log] [tgz] |
---|---|---|
author | Bhumika Goyal <bhumirks@gmail.com> | Sat Sep 30 21:47:24 2017 +0530 |
committer | Alex Williamson <alex.williamson@redhat.com> | Mon Oct 02 12:40:05 2017 -0600 |
tree | fb312d986f7cac861a524e5bdb1edd2ee2c929e2 | |
parent | 5c2fefd882d3666f11447e3e0fe663a8a7f64cc9 [diff] |
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>