[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>
このコミットが含まれているのは:
@@ -1,6 +1,7 @@
|
||||
#ifndef LINUX_FC0011_H_
|
||||
#define LINUX_FC0011_H_
|
||||
|
||||
#include <linux/kconfig.h>
|
||||
#include "dvb_frontend.h"
|
||||
|
||||
|
||||
@@ -22,8 +23,7 @@ enum fc0011_fe_callback_commands {
|
||||
FC0011_FE_CALLBACK_RESET,
|
||||
};
|
||||
|
||||
#if defined(CONFIG_MEDIA_TUNER_FC0011) ||\
|
||||
defined(CONFIG_MEDIA_TUNER_FC0011_MODULE)
|
||||
#if IS_ENABLED(CONFIG_MEDIA_TUNER_FC0011)
|
||||
struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe,
|
||||
struct i2c_adapter *i2c,
|
||||
const struct fc0011_config *config);
|
||||
|
新しいイシューから参照
ユーザーをブロックする