|
@@ -24,8 +24,7 @@
|
|
|
|
|
|
/* Can we use the specified front-end? Remember that if we are compiled
|
|
/* Can we use the specified front-end? Remember that if we are compiled
|
|
* into the kernel we can't call code that's in modules. */
|
|
* into the kernel we can't call code that's in modules. */
|
|
-#define FE_SUPPORTED(fe) (defined(CONFIG_DVB_##fe) || \
|
|
|
|
- (defined(CONFIG_DVB_##fe##_MODULE) && defined(MODULE)))
|
|
|
|
|
|
+#define FE_SUPPORTED(fe) IS_REACHABLE(CONFIG_DVB_ ## fe)
|
|
|
|
|
|
#if FE_SUPPORTED(BCM3510) || (FE_SUPPORTED(CX24120) && FE_SUPPORTED(ISL6421))
|
|
#if FE_SUPPORTED(BCM3510) || (FE_SUPPORTED(CX24120) && FE_SUPPORTED(ISL6421))
|
|
static int flexcop_fe_request_firmware(struct dvb_frontend *fe,
|
|
static int flexcop_fe_request_firmware(struct dvb_frontend *fe,
|