MALI: midgard: RK: add separate src dir of Midgard driver for RK Linux device
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / midgard_for_linux / platform / mali_kbase_platform_fake.h
1 /*
2  *
3  * (C) COPYRIGHT 2010-2014 ARM Limited. All rights reserved.
4  *
5  * This program is free software and is provided to you under the terms of the
6  * GNU General Public License version 2 as published by the Free Software
7  * Foundation, and any use by you of this program is subject to the terms
8  * of such GNU licence.
9  *
10  * A copy of the licence is included with the program, and can also be obtained
11  * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12  * Boston, MA  02110-1301, USA.
13  *
14  */
15
16
17
18 #ifdef CONFIG_MALI_PLATFORM_FAKE
19
20 /**
21  * kbase_platform_fake_register - Entry point for fake platform registration
22  *
23  * This function is called early on in the initialization during execution of
24  * kbase_driver_init.
25  *
26  * Return: 0 to indicate success, non-zero for failure.
27  */
28 int kbase_platform_fake_register(void);
29
30 /**
31  * kbase_platform_fake_unregister - Entry point for fake platform unregistration
32  *
33  * This function is called in the termination during execution of
34  * kbase_driver_exit.
35  */
36 void kbase_platform_fake_unregister(void);
37
38 #endif /* CONFIG_MALI_PLATFORM_FAKE */