temp revert rk change
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / tegra / avp / avp.h
1 /*
2  * Copyright (C) 2010 Google, Inc.
3  * Author: Dima Zavin <dima@android.com>
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  */
15
16 #ifndef __MEDIA_VIDEO_TEGRA_AVP_H
17 #define __MEDIA_VIDEO_TEGRA_AVP_H
18
19 #include <linux/platform_device.h>
20 #include <linux/types.h>
21
22 #include "trpc.h"
23
24 struct avp_svc_info;
25
26 struct avp_svc_info *avp_svc_init(struct platform_device *pdev,
27                                   struct trpc_node *rpc_node);
28 void avp_svc_destroy(struct avp_svc_info *avp_svc);
29 int avp_svc_start(struct avp_svc_info *svc);
30 void avp_svc_stop(struct avp_svc_info *svc);
31
32 #endif