mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
f8b9b871f8
* Rename device state from 's' to 'dev'. * Move single include to driver private header. * Change error handling type of each function to one I tend use nowadays. * Remove dummy register write from init. Even Windows driver does this multiple times remove it as I have never seen any I2C errors. * Define I2C client pointer for each function and use it. * Do not clean tuner ops during driver remove - not needed. * Disable sysfs device bind / unbind. We are not allowed manually bind / unbind device from the driver currently. * Rename some other variables. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
* Elonics E4000 silicon tuner driver
|
|
*
|
|
* Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
|
|
*
|
|
* 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; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef E4000_H
|
|
#define E4000_H
|
|
|
|
#include "dvb_frontend.h"
|
|
|
|
/*
|
|
* I2C address
|
|
* 0x64, 0x65, 0x66, 0x67
|
|
*/
|
|
struct e4000_config {
|
|
/*
|
|
* frontend
|
|
*/
|
|
struct dvb_frontend *fe;
|
|
|
|
/*
|
|
* clock
|
|
*/
|
|
u32 clock;
|
|
};
|
|
|
|
#endif
|