gpu: arm: mali400: r5p2_rel0: remove unused function build warnings
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 25 Sep 2017 11:03:07 +0000 (20:03 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Jan 2019 02:25:31 +0000 (11:25 +0900)
There are unused function build warnings. Remove the warnings with
__maybe_unused build macro.

Change-Id: If78df13c03a42a0c5f3e32956c39662aa4bac214
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/gpu/arm/mali400/r5p2_rel0/platform/nexell/s5pxx18.c

index ee644e7ea7feb474a54bb85913e0d5e66d930e8e..8e8875bead4c2cd0bf2ddff0ee5a167ac00b90dc 100644 (file)
@@ -76,7 +76,7 @@ static void s5p6818_mali_axibus_lpi_enter(void)
 }
 #endif
 
-static void nexell_platform_resume(struct device *dev)
+static void __maybe_unused nexell_platform_resume(struct device *dev)
 {
        clk_prepare_enable(clk_mali);
        reset_control_reset(rst_mali);
@@ -85,7 +85,7 @@ static void nexell_platform_resume(struct device *dev)
 #endif
 }
 
-static void nexell_platform_suspend(struct device *dev)
+static void __maybe_unused nexell_platform_suspend(struct device *dev)
 {
        if (rst_mali) {
 #ifdef CONFIG_MALI_PLATFORM_S5P6818