media: staging/atomisp: make six local functions static to appease sparse
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Sat, 23 Sep 2017 19:45:34 +0000 (21:45 +0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 27 Oct 2017 13:37:55 +0000 (15:37 +0200)
commit79bd3daaa86e9734289bfd0c994633fee381973e
treea2bf3ab63ea6ca547c83094245fc9b7e1303e7b4
parentaf7db4e90e47cc9e2220fb827e9c11235370c603
media: staging/atomisp: make six local functions static to appease sparse

The functions __bo_alloc, __bo_search_and_remove_from_free_rbtree,
__bo_search_by_addr, __bo_search_by_addr_in_range, __bo_break_up and
__bo_merge  are local to the source and do not need to be in the global
scope, so make them static.

Cleans up sparse warnings:

warning: symbol '__bo_alloc' was not declared. Should it be static?
warning: symbol '__bo_search_and_remove_from_free_rbtree' was not declared. Should it be static?
warning: symbol '__bo_search_by_addr' was not declared. Should it be static?
warning: symbol '__bo_search_by_addr_in_range' was not declared. Should it be static?
warning: symbol '__bo_break_up' was not declared. Should it be static?
warning: symbol '__bo_merge' was not declared. Should it be static?

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c