[RAMEN9610-12171] android: ion: make ion_secure_iova_free() static
authorCho KyongHo <pullip.cho@samsung.com>
Tue, 30 Oct 2018 07:23:10 +0000 (16:23 +0900)
committerhskang <hs1218.kang@samsung.com>
Thu, 14 Feb 2019 16:20:12 +0000 (01:20 +0900)
ion_secure_iova_free() is never used outside of ion_buffer_protect.c.

Change-Id: I0d2fa1797c7bc7a93c151182e1ca782a8d149fbb
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/staging/android/ion/ion_buffer_protect.c

index c7787faaac3bc95d567c36028f5af8c5fbeea22a..5a259bfae0ee3e5dd150b5e463a6300e60b8f364 100644 (file)
@@ -80,7 +80,7 @@ static int ion_secure_iova_alloc(unsigned long *addr, unsigned long size,
        return 0;
 }
 
-void ion_secure_iova_free(unsigned long addr, unsigned long size)
+static void ion_secure_iova_free(unsigned long addr, unsigned long size)
 {
        if (!secure_iova_pool) {
                perrfn("Secure IOVA pool is not created");