/* * Sharp s921 driver * * Copyright (C) 2009 Mauro Carvalho Chehab * Copyright (C) 2009 Douglas Landgraf <dougsland@redhat.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation version 2. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ #ifndef S921_H #define S921_H #include <linux/kconfig.h> #include <linux/dvb/frontend.h> struct s921_config { /* the demodulator's i2c address */ u8 demod_address; }; #if IS_REACHABLE(CONFIG_DVB_S921) extern struct dvb_frontend *s921_attach(const struct s921_config *config, struct i2c_adapter *i2c); extern struct i2c_adapter *s921_get_tuner_i2c_adapter(struct dvb_frontend *); #else
static inline struct dvb_frontend *s921_attach( const struct s921_config *config, struct i2c_adapter *i2c) { printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); return NULL; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
markus rechberger | markus rechberger | 31 | 100.00% | 1 | 100.00% |
Total | 31 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mauro carvalho chehab | mauro carvalho chehab | 24 | 96.00% | 1 | 50.00% |
hans verkuil | hans verkuil | 1 | 4.00% | 1 | 50.00% |
Total | 25 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
markus rechberger | markus rechberger | 75 | 62.50% | 1 | 16.67% |
mauro carvalho chehab | mauro carvalho chehab | 43 | 35.83% | 3 | 50.00% |
hans verkuil | hans verkuil | 1 | 0.83% | 1 | 16.67% |
arnd bergmann | arnd bergmann | 1 | 0.83% | 1 | 16.67% |
Total | 120 | 100.00% | 6 | 100.00% |