mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
media: dvb-frontends/mn88436: dos2unix
This commit is contained in:
@@ -1,28 +1,28 @@
|
|||||||
#ifndef MN88436_H
|
#ifndef MN88436_H
|
||||||
#define MN88436_H
|
#define MN88436_H
|
||||||
#include <linux/dvb/frontend.h>
|
#include <linux/dvb/frontend.h>
|
||||||
|
|
||||||
struct mndmd_config {
|
struct mndmd_config {
|
||||||
// u8 slvadr;
|
// u8 slvadr;
|
||||||
u8 tuner_address;
|
u8 tuner_address;
|
||||||
|
|
||||||
// int (*tbs6704_ctl1)(struct tbs_pcie_dev *dev, int a);
|
// int (*tbs6704_ctl1)(struct tbs_pcie_dev *dev, int a);
|
||||||
// int (*tbs6704_ctl2)(struct tbs_pcie_dev *dev, int a, int b);
|
// int (*tbs6704_ctl2)(struct tbs_pcie_dev *dev, int a, int b);
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(CONFIG_DVB_MN88436) || \
|
#if defined(CONFIG_DVB_MN88436) || \
|
||||||
(defined(CONFIG_DVB_MN88436_MODULE) && defined(MODULE))
|
(defined(CONFIG_DVB_MN88436_MODULE) && defined(MODULE))
|
||||||
extern struct dvb_frontend* mndmd_attach(
|
extern struct dvb_frontend* mndmd_attach(
|
||||||
struct mndmd_config* config,
|
struct mndmd_config* config,
|
||||||
struct i2c_adapter* i2c);
|
struct i2c_adapter* i2c);
|
||||||
#else
|
#else
|
||||||
static inline struct dvb_frontend* mndmd_attach(
|
static inline struct dvb_frontend* mndmd_attach(
|
||||||
struct mndmd_config* config,
|
struct mndmd_config* config,
|
||||||
struct i2c_adapter* i2c)
|
struct i2c_adapter* i2c)
|
||||||
{
|
{
|
||||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user