Linux 2.6.34-rc3
[pohmelfs.git] / drivers / media / video / cx23885 / cx23885-ioctl.h
blob80b0f4923c6a76c9291638532c5cec32c23e546c
1 /*
2 * Driver for the Conexant CX23885/7/8 PCIe bridge
4 * Various common ioctl() support functions
6 * Copyright (c) 2009 Andy Walls <awalls@radix.net>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef _CX23885_IOCTL_H_
25 #define _CX23885_IOCTL_H_
27 int cx23885_g_chip_ident(struct file *file, void *fh,
28 struct v4l2_dbg_chip_ident *chip);
30 #ifdef CONFIG_VIDEO_ADV_DEBUG
31 int cx23885_g_register(struct file *file, void *fh,
32 struct v4l2_dbg_register *reg);
35 int cx23885_s_register(struct file *file, void *fh,
36 struct v4l2_dbg_register *reg);
38 #endif
39 #endif