mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
media: tuners/rda5816: dos2unix.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,25 +1,25 @@
|
||||
#ifndef _RDA5816_H_
|
||||
#define _RDA5816_H_
|
||||
|
||||
#include <linux/kconfig.h>
|
||||
#include <media/dvb_frontend.h>
|
||||
|
||||
struct rda5816_config{
|
||||
u8 i2c_adr;
|
||||
u8 xtal;//1=27M 0=24M
|
||||
};
|
||||
|
||||
#if IS_REACHABLE(CONFIG_MEDIA_TUNER_RDA5816)
|
||||
extern struct dvb_frontend *rda5816_attach(struct dvb_frontend *fe,
|
||||
struct rda5816_config *cfg, struct i2c_adapter *i2c);
|
||||
#else
|
||||
static inline struct dvb_frontend *rda5816_attach(struct dvb_frontend *fe,
|
||||
struct rda5816_config *cfg, struct i2c_adapter *i2c)
|
||||
{
|
||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
#ifndef _RDA5816_H_
|
||||
#define _RDA5816_H_
|
||||
|
||||
#include <linux/kconfig.h>
|
||||
#include <media/dvb_frontend.h>
|
||||
|
||||
struct rda5816_config{
|
||||
u8 i2c_adr;
|
||||
u8 xtal;//1=27M 0=24M
|
||||
};
|
||||
|
||||
#if IS_REACHABLE(CONFIG_MEDIA_TUNER_RDA5816)
|
||||
extern struct dvb_frontend *rda5816_attach(struct dvb_frontend *fe,
|
||||
struct rda5816_config *cfg, struct i2c_adapter *i2c);
|
||||
#else
|
||||
static inline struct dvb_frontend *rda5816_attach(struct dvb_frontend *fe,
|
||||
struct rda5816_config *cfg, struct i2c_adapter *i2c)
|
||||
{
|
||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user