[RFC PATCH intel-gvt-linux] drm/i915/gvt: vReg_ops can be static
kbuild test robot
lkp at intel.com
Fri Mar 22 09:18:22 UTC 2019
Fixes: d3a3d5bff1c3 ("drm/i915/gvt: vGPU device config data save/restore interface")
Signed-off-by: kbuild test robot <lkp at intel.com>
---
migrate.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/gvt/migrate.c b/drivers/gpu/drm/i915/gvt/migrate.c
index dca6eae..c0aac30 100644
--- a/drivers/gpu/drm/i915/gvt/migrate.c
+++ b/drivers/gpu/drm/i915/gvt/migrate.c
@@ -81,56 +81,56 @@ static int execlist_save(const struct gvt_migration_obj_t *obj);
/***********************************************
* Internal Static Functions
***********************************************/
-struct gvt_migration_operation_t vReg_ops = {
+static struct gvt_migration_operation_t vReg_ops = {
.pre_copy = NULL,
.pre_save = vreg_save,
.pre_load = vreg_load,
.post_load = NULL,
};
-struct gvt_migration_operation_t sReg_ops = {
+static struct gvt_migration_operation_t sReg_ops = {
.pre_copy = NULL,
.pre_save = sreg_save,
.pre_load = sreg_load,
.post_load = NULL,
};
-struct gvt_migration_operation_t vcfg_space_ops = {
+static struct gvt_migration_operation_t vcfg_space_ops = {
.pre_copy = NULL,
.pre_save = vcfg_space_save,
.pre_load = vcfg_space_load,
.post_load = NULL,
};
-struct gvt_migration_operation_t vgtt_info_ops = {
+static struct gvt_migration_operation_t vgtt_info_ops = {
.pre_copy = NULL,
.pre_save = vggtt_save,
.pre_load = vggtt_load,
.post_load = NULL,
};
-struct gvt_migration_operation_t image_header_ops = {
+static struct gvt_migration_operation_t image_header_ops = {
.pre_copy = NULL,
.pre_save = image_header_save,
.pre_load = image_header_load,
.post_load = NULL,
};
-struct gvt_migration_operation_t workload_ops = {
+static struct gvt_migration_operation_t workload_ops = {
.pre_copy = NULL,
.pre_save = workload_save,
.pre_load = workload_load,
.post_load = NULL,
};
-struct gvt_migration_operation_t ppgtt_ops = {
+static struct gvt_migration_operation_t ppgtt_ops = {
.pre_copy = NULL,
.pre_save = ppgtt_save,
.pre_load = ppgtt_load,
.post_load = NULL,
};
-struct gvt_migration_operation_t execlist_ops = {
+static struct gvt_migration_operation_t execlist_ops = {
.pre_copy = NULL,
.pre_save = execlist_save,
.pre_load = execlist_load,
More information about the intel-gvt-dev
mailing list