mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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:
parent
8e4020e083
commit
81f9db404b
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
#ifndef __PANTHOR_DRV_H__
|
||||
#define __PANTHOR_DRV_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
extern bool panthor_transparent_hugepage;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user