Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / tegra / avp / trpc_sema.h
1 /*
2  * Copyright (C) 2010 Google, Inc.
3  *
4  * Author:
5  *   Dima Zavin <dima@android.com>
6  *
7  * This software is licensed under the terms of the GNU General Public
8  * License version 2, as published by the Free Software Foundation, and
9  * may be copied, distributed, and modified under those terms.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  */
17
18 #ifndef __ARM_MACH_TEGRA_RPC_SEMA_H
19 #define __ARM_MACH_TEGRA_RPC_SEMA_H
20
21 #include <linux/types.h>
22 #include <linux/fs.h>
23
24 struct file *trpc_sema_get_from_fd(int fd);
25 int trpc_sema_signal(struct file *file);
26 int __init trpc_sema_init(void);
27
28 #endif