[RFC PATCH] SMAF: smaf_cma can be static

kbuild test robot lkp at intel.com
Mon Oct 5 03:50:47 PDT 2015


Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
 smaf-cma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/smaf/smaf-cma.c b/drivers/smaf/smaf-cma.c
index ab38717..9fbd9b7 100644
--- a/drivers/smaf/smaf-cma.c
+++ b/drivers/smaf/smaf-cma.c
@@ -175,7 +175,7 @@ error:
 	return NULL;
 }
 
-struct smaf_allocator smaf_cma = {
+static struct smaf_allocator smaf_cma = {
 	.match = smaf_cma_match,
 	.allocate = smaf_cma_allocate,
 	.name = "smaf-cma",


More information about the dri-devel mailing list