summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda1004x.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/tda1004x.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c
index 0d030bc60..c60335abf 100644
--- a/linux/drivers/media/dvb/frontends/tda1004x.c
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c
@@ -44,8 +44,12 @@
#include "dvb_frontend.h"
#include "dvb_functions.h"
+#ifndef CONFIG_TDA1004X_MC_LOCATION
+#define CONFIG_TDA1004X_MC_LOCATION "/usr/lib/DVB/driver/frontends/tda1004x.mc"
+#endif
+
static int tda1004x_debug = 0;
-static char *tda1004x_firmware = "/usr/lib/DVB/driver/frontends/tda1004x.mc";
+static char *tda1004x_firmware = CONFIG_TDA1004X_MC_LOCATION;
#define TDA10045H_ADDRESS 0x08