2 * Copyright (C) 2013 Google, Inc.
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
15 #ifndef __VIDEO_ADF_ADF_FOPS_H
16 #define __VIDEO_ADF_ADF_FOPS_H
18 #include <linux/bitmap.h>
21 extern const struct file_operations adf_fops;
24 struct list_head head;
27 DECLARE_BITMAP(event_subscriptions, ADF_EVENT_TYPE_MAX);
31 wait_queue_head_t event_wait;
34 void adf_file_queue_event(struct adf_file *file, struct adf_event *event);
35 long adf_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
37 #endif /* __VIDEO_ADF_ADF_FOPS_H */