drm/panthor: Fix missing declaration for panthor_transparent_hugepage

sparse reports:
	drivers/gpu/drm/panthor/panthor_drv.c:1805:6: warning: symbol 'panthor_transparent_hugepage' was not declared. Should it be static?

Make it clean.

Signed-off-by: gyeyoung <gye976@gmail.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patch.msgid.link/20260503144234.2150138-1-gye976@gmail.com
This commit is contained in:
gyeyoung 2026-05-03 23:42:34 +09:00 committed by Steven Price
parent 8e4020e083
commit 81f9db404b
2 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include "panthor_devfreq.h"
#include "panthor_device.h"
#include "panthor_drv.h"
#include "panthor_fw.h"
#include "panthor_gem.h"
#include "panthor_gpu.h"

View File

@ -4,6 +4,8 @@
#ifndef __PANTHOR_DRV_H__
#define __PANTHOR_DRV_H__
#include <linux/types.h>
extern bool panthor_transparent_hugepage;
#endif