[COMMON] fimc-is2: fix section err in resourcemgr
authorWooyeon Kim <wooy88.kim@samsung.com>
Wed, 3 Apr 2019 11:31:00 +0000 (20:31 +0900)
committerlingsen1 <lingsen1@lenovo.com>
Mon, 10 Jun 2019 03:24:57 +0000 (11:24 +0800)
 - "__init" prefix deleted at lib_map, heap_map

 PR JIRA ID: CPR-916

CRs-fixed: (CR)

Change-Id: Iaa0adc0837159451ef60e03171b748edc7219ca6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1333575
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Biming Li <libm1@motorola.com>
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c

index fe907eab8230f3b9d19570f1b8dfc5e05801126e..259809613e66940462c95f84b299ffdbefda13bd 100644 (file)
@@ -756,7 +756,7 @@ static int __init fimc_is_lib_mem_alloc(char *str)
 __setup("reserve-fimc=", fimc_is_lib_mem_alloc);
 #endif
 
-static int __init fimc_is_lib_mem_map(void)
+static int fimc_is_lib_mem_map(void)
 {
        int page_size, i;
        struct page *page;
@@ -786,7 +786,7 @@ static int __init fimc_is_lib_mem_map(void)
        return 0;
 }
 
-static int __init fimc_is_heap_mem_map(struct fimc_is_resourcemgr *resourcemgr,
+static int fimc_is_heap_mem_map(struct fimc_is_resourcemgr *resourcemgr,
        struct vm_struct *vm, int heap_size)
 {
        struct fimc_is_mem *mem = &resourcemgr->mem;