[media] tuners: use IS_ENABLED
Instead of checking everywhere there for 3 symbols, use instead IS_ENABLED macro. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
这个提交包含在:
@@ -22,11 +22,11 @@
|
||||
#ifndef _FC0013_H_
|
||||
#define _FC0013_H_
|
||||
|
||||
#include <linux/kconfig.h>
|
||||
#include "dvb_frontend.h"
|
||||
#include "fc001x-common.h"
|
||||
|
||||
#if defined(CONFIG_MEDIA_TUNER_FC0013) || \
|
||||
(defined(CONFIG_MEDIA_TUNER_FC0013_MODULE) && defined(MODULE))
|
||||
#if IS_ENABLED(CONFIG_MEDIA_TUNER_FC0013)
|
||||
extern struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe,
|
||||
struct i2c_adapter *i2c,
|
||||
u8 i2c_address, int dual_master,
|
||||
|
在新工单中引用
屏蔽一个用户