aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/cxd2099/cxd2099.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/staging/media/cxd2099/cxd2099.h
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'drivers/staging/media/cxd2099/cxd2099.h')
-rw-r--r--drivers/staging/media/cxd2099/cxd2099.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/drivers/staging/media/cxd2099/cxd2099.h b/drivers/staging/media/cxd2099/cxd2099.h
deleted file mode 100644
index 19c588a5958..00000000000
--- a/drivers/staging/media/cxd2099/cxd2099.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/*
2 * cxd2099.h: Driver for the CXD2099AR Common Interface Controller
3 *
4 * Copyright (C) 2010-2011 Digital Devices GmbH
5 *
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 only, as published by the Free Software Foundation.
10 *
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 * 02110-1301, USA
22 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
23 */
24
25#ifndef _CXD2099_H_
26#define _CXD2099_H_
27
28#include <dvb_ca_en50221.h>
29
30struct cxd2099_cfg {
31 u32 bitrate;
32 u8 adr;
33 u8 polarity:1;
34 u8 clock_mode:1;
35};
36
37#if defined(CONFIG_DVB_CXD2099) || \
38 (defined(CONFIG_DVB_CXD2099_MODULE) && defined(MODULE))
39struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg,
40 void *priv, struct i2c_adapter *i2c);
41#else
42
43static inline struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg,
44 void *priv, struct i2c_adapter *i2c)
45{
46 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
47 return NULL;
48}
49#endif
50
51#endif