diff --git a/drivers/video/tegra/nvmap/nvmap_dev.c b/drivers/video/tegra/nvmap/nvmap_dev.c index 9afcb6e6..563c2a77 100644 --- a/drivers/video/tegra/nvmap/nvmap_dev.c +++ b/drivers/video/tegra/nvmap/nvmap_dev.c @@ -877,7 +877,7 @@ static int nvmap_debug_free_size_show(struct seq_file *s, void *unused) seq_printf(s, "Max allocatable IOVMM memory: %lu bytes\n", free_mem); return 0; } -DEBUGFS_OPEN_FOPS(free_size); +DEBUGFS_OPEN_FOPS_STATIC(free_size); #ifdef NVMAP_CONFIG_DEBUG_MAPS static int nvmap_debug_device_list_show(struct seq_file *s, void *unused)