[Intel-gfx] [RFC PATCH] drm/i915/bios: find_vbt() can be static

kbuild test robot lkp at intel.com
Sun Nov 10 16:57:55 UTC 2019


Fixes: bee6eeb3ee67 ("drm/i915/bios: do not discard address space")
Signed-off-by: kbuild test robot <lkp at intel.com>
---
 intel_bios.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
index 8dae8eb90d0da..0cd039217d06f 100644
--- a/drivers/gpu/drm/i915/display/intel_bios.c
+++ b/drivers/gpu/drm/i915/display/intel_bios.c
@@ -1806,7 +1806,7 @@ bool intel_bios_is_valid_vbt(const void *buf, size_t size)
 	return vbt;
 }
 
-void __iomem *find_vbt(void __iomem *oprom, size_t size)
+static void __iomem *find_vbt(void __iomem *oprom, size_t size)
 {
 	const u32 MAGIC = *((const u32 *)"$VBT");
 	size_t done = 0, cur = 0;


More information about the Intel-gfx mailing list