Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366715
b: refs/heads/master
c: 782d8b7
h: refs/heads/master
i:
  366713: 83c0d0b
  366711: b359813
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 23, 2013
1 parent 8e110e7 commit c8d3a3a
Show file tree
Hide file tree
Showing 49 changed files with 109 additions and 97 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 54d80904b4c1f7aa1d569d07ca3e62fba0daf3a2
refs/heads/master: 782d8b743aad7dfffa4c01e9e8b57fd35247d70a
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb-frontends/a8293.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
#ifndef A8293_H
#define A8293_H

#include <linux/kconfig.h>

struct a8293_config {
u8 i2c_addr;
};

#if defined(CONFIG_DVB_A8293) || \
(defined(CONFIG_DVB_A8293_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_A8293)
extern struct dvb_frontend *a8293_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, const struct a8293_config *cfg);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/af9013.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#ifndef AF9013_H
#define AF9013_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

/* AF9013/5 GPIOs (mostly guessed)
Expand Down Expand Up @@ -102,8 +103,7 @@ struct af9013_config {
u8 gpio[4];
};

#if defined(CONFIG_DVB_AF9013) || \
(defined(CONFIG_DVB_AF9013_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_AF9013)
extern struct dvb_frontend *af9013_attach(const struct af9013_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb-frontends/af9033.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#ifndef AF9033_H
#define AF9033_H

#include <linux/kconfig.h>

struct af9033_config {
/*
* I2C address
Expand Down Expand Up @@ -76,8 +78,7 @@ struct af9033_config {
};


#if defined(CONFIG_DVB_AF9033) || \
(defined(CONFIG_DVB_AF9033_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_AF9033)
extern struct dvb_frontend *af9033_attach(const struct af9033_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/atbm8830.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#ifndef __ATBM8830_H__
#define __ATBM8830_H__

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>
#include <linux/i2c.h>

Expand Down Expand Up @@ -60,8 +61,7 @@ struct atbm8830_config {
u8 agc_hold_loop;
};

#if defined(CONFIG_DVB_ATBM8830) || \
(defined(CONFIG_DVB_ATBM8830_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_ATBM8830)
extern struct dvb_frontend *atbm8830_attach(const struct atbm8830_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/au8522.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#ifndef __AU8522_H__
#define __AU8522_H__

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

enum au8522_if_freq {
Expand Down Expand Up @@ -60,8 +61,7 @@ struct au8522_config {
enum au8522_if_freq qam_if;
};

#if defined(CONFIG_DVB_AU8522) || \
(defined(CONFIG_DVB_AU8522_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_AU8522)
extern struct dvb_frontend *au8522_attach(const struct au8522_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/cx22702.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#ifndef CX22702_H
#define CX22702_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

struct cx22702_config {
Expand All @@ -40,8 +41,7 @@ struct cx22702_config {
u8 output_mode;
};

#if defined(CONFIG_DVB_CX22702) || (defined(CONFIG_DVB_CX22702_MODULE) \
&& defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_CX22702)
extern struct dvb_frontend *cx22702_attach(
const struct cx22702_config *config,
struct i2c_adapter *i2c);
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb-frontends/cx24113.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#ifndef CX24113_H
#define CX24113_H

#include <linux/kconfig.h>

struct dvb_frontend;

struct cx24113_config {
Expand All @@ -30,8 +32,7 @@ struct cx24113_config {
u32 xtal_khz;
};

#if defined(CONFIG_DVB_TUNER_CX24113) || \
(defined(CONFIG_DVB_TUNER_CX24113_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_TUNER_CX24113)
extern struct dvb_frontend *cx24113_attach(struct dvb_frontend *,
const struct cx24113_config *config, struct i2c_adapter *i2c);

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/cx24116.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef CX24116_H
#define CX24116_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

struct cx24116_config {
Expand All @@ -40,8 +41,7 @@ struct cx24116_config {
u16 i2c_wr_max;
};

#if defined(CONFIG_DVB_CX24116) || \
(defined(CONFIG_DVB_CX24116_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_CX24116)
extern struct dvb_frontend *cx24116_attach(
const struct cx24116_config *config,
struct i2c_adapter *i2c);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/cx24123.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef CX24123_H
#define CX24123_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

struct cx24123_config {
Expand All @@ -38,8 +39,7 @@ struct cx24123_config {
void (*agc_callback) (struct dvb_frontend *);
};

#if defined(CONFIG_DVB_CX24123) || (defined(CONFIG_DVB_CX24123_MODULE) \
&& defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_CX24123)
extern struct dvb_frontend *cx24123_attach(const struct cx24123_config *config,
struct i2c_adapter *i2c);
extern struct i2c_adapter *cx24123_get_tuner_i2c_adapter(struct dvb_frontend *);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/cxd2820r.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#ifndef CXD2820R_H
#define CXD2820R_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

#define CXD2820R_GPIO_D (0 << 0) /* disable */
Expand Down Expand Up @@ -65,8 +66,7 @@ struct cxd2820r_config {
};


#if defined(CONFIG_DVB_CXD2820R) || \
(defined(CONFIG_DVB_CXD2820R_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_CXD2820R)
extern struct dvb_frontend *cxd2820r_attach(
const struct cxd2820r_config *config,
struct i2c_adapter *i2c,
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb-frontends/dib3000mc.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#ifndef DIB3000MC_H
#define DIB3000MC_H

#include <linux/kconfig.h>

#include "dibx000_common.h"

struct dib3000mc_config {
Expand All @@ -39,8 +41,7 @@ struct dib3000mc_config {
#define DEFAULT_DIB3000MC_I2C_ADDRESS 16
#define DEFAULT_DIB3000P_I2C_ADDRESS 24

#if defined(CONFIG_DVB_DIB3000MC) || (defined(CONFIG_DVB_DIB3000MC_MODULE) && \
defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_DIB3000MC)
extern struct dvb_frontend *dib3000mc_attach(struct i2c_adapter *i2c_adap,
u8 i2c_addr,
struct dib3000mc_config *cfg);
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb-frontends/dib7000m.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef DIB7000M_H
#define DIB7000M_H

#include <linux/kconfig.h>

#include "dibx000_common.h"

struct dib7000m_config {
Expand Down Expand Up @@ -38,8 +40,7 @@ struct dib7000m_config {

#define DEFAULT_DIB7000M_I2C_ADDRESS 18

#if defined(CONFIG_DVB_DIB7000M) || (defined(CONFIG_DVB_DIB7000M_MODULE) && \
defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_DIB7000M)
extern struct dvb_frontend *dib7000m_attach(struct i2c_adapter *i2c_adap,
u8 i2c_addr,
struct dib7000m_config *cfg);
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb-frontends/dib7000p.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef DIB7000P_H
#define DIB7000P_H

#include <linux/kconfig.h>

#include "dibx000_common.h"

struct dib7000p_config {
Expand Down Expand Up @@ -44,8 +46,7 @@ struct dib7000p_config {

#define DEFAULT_DIB7000P_I2C_ADDRESS 18

#if defined(CONFIG_DVB_DIB7000P) || (defined(CONFIG_DVB_DIB7000P_MODULE) && \
defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_DIB7000P)
extern struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000p_config *cfg);
extern struct i2c_adapter *dib7000p_get_i2c_master(struct dvb_frontend *, enum dibx000_i2c_interface, int);
extern int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 default_addr, struct dib7000p_config cfg[]);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/drxd.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#ifndef _DRXD_H_
#define _DRXD_H_

#include <linux/kconfig.h>
#include <linux/types.h>
#include <linux/i2c.h>

Expand Down Expand Up @@ -51,8 +52,7 @@ struct drxd_config {
s16(*osc_deviation) (void *priv, s16 dev, int flag);
};

#if defined(CONFIG_DVB_DRXD) || \
(defined(CONFIG_DVB_DRXD_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_DRXD)
extern
struct dvb_frontend *drxd_attach(const struct drxd_config *config,
void *priv, struct i2c_adapter *i2c,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/drxk.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef _DRXK_H_
#define _DRXK_H_

#include <linux/kconfig.h>
#include <linux/types.h>
#include <linux/i2c.h>

Expand Down Expand Up @@ -52,8 +53,7 @@ struct drxk_config {
int qam_demod_parameter_count;
};

#if defined(CONFIG_DVB_DRXK) || (defined(CONFIG_DVB_DRXK_MODULE) \
&& defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_DRXK)
extern struct dvb_frontend *drxk_attach(const struct drxk_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/ds3000.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#ifndef DS3000_H
#define DS3000_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

struct ds3000_config {
Expand All @@ -34,8 +35,7 @@ struct ds3000_config {
void (*set_lock_led)(struct dvb_frontend *fe, int offon);
};

#if defined(CONFIG_DVB_DS3000) || \
(defined(CONFIG_DVB_DS3000_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_DS3000)
extern struct dvb_frontend *ds3000_attach(const struct ds3000_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/dvb_dummy_fe.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
#ifndef DVB_DUMMY_FE_H
#define DVB_DUMMY_FE_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>
#include "dvb_frontend.h"

#if defined(CONFIG_DVB_DUMMY_FE) || (defined(CONFIG_DVB_DUMMY_FE_MODULE) && \
defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_DUMMY_FE)
extern struct dvb_frontend* dvb_dummy_fe_ofdm_attach(void);
extern struct dvb_frontend* dvb_dummy_fe_qpsk_attach(void);
extern struct dvb_frontend* dvb_dummy_fe_qam_attach(void);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/ec100.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#ifndef EC100_H
#define EC100_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

struct ec100_config {
Expand All @@ -30,8 +31,7 @@ struct ec100_config {
};


#if defined(CONFIG_DVB_EC100) || \
(defined(CONFIG_DVB_EC100_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_EC100)
extern struct dvb_frontend *ec100_attach(const struct ec100_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/hd29l2.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#ifndef HD29L2_H
#define HD29L2_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>

struct hd29l2_config {
Expand Down Expand Up @@ -50,8 +51,7 @@ struct hd29l2_config {
};


#if defined(CONFIG_DVB_HD29L2) || \
(defined(CONFIG_DVB_HD29L2_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_HD29L2)
extern struct dvb_frontend *hd29l2_attach(const struct hd29l2_config *config,
struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/it913x-fe.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef IT913X_FE_H
#define IT913X_FE_H

#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>
#include "dvb_frontend.h"

Expand All @@ -38,8 +39,7 @@ struct ite_config {
u8 read_slevel;
};

#if defined(CONFIG_DVB_IT913X_FE) || (defined(CONFIG_DVB_IT913X_FE_MODULE) && \
defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_IT913X_FE)
extern struct dvb_frontend *it913x_fe_attach(struct i2c_adapter *i2c_adap,
u8 i2c_addr, struct ite_config *config);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/ix2505v.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef DVB_IX2505V_H
#define DVB_IX2505V_H

#include <linux/kconfig.h>
#include <linux/i2c.h>
#include "dvb_frontend.h"

Expand Down Expand Up @@ -48,8 +49,7 @@ struct ix2505v_config {

};

#if defined(CONFIG_DVB_IX2505V) || \
(defined(CONFIG_DVB_IX2505V_MODULE) && defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_IX2505V)
extern struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe,
const struct ix2505v_config *config, struct i2c_adapter *i2c);
#else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/lg2160.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#ifndef _LG2160_H_
#define _LG2160_H_

#include <linux/kconfig.h>
#include <linux/i2c.h>
#include "dvb_frontend.h"

Expand Down Expand Up @@ -66,8 +67,7 @@ struct lg2160_config {
enum lg_chip_type lg_chip;
};

#if defined(CONFIG_DVB_LG2160) || (defined(CONFIG_DVB_LG2160_MODULE) && \
defined(MODULE))
#if IS_ENABLED(CONFIG_DVB_LG2160)
extern
struct dvb_frontend *lg2160_attach(const struct lg2160_config *config,
struct i2c_adapter *i2c_adap);
Expand Down
Loading

0 comments on commit c8d3a3a

Please sign in to comment.