summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile3
-rwxr-xr-xwcfxs.c2
-rwxr-xr-xwctdm.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 28af362..aaf77e5 100755
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,9 @@ KFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-msoft-float -fsigned-char
#
# Features
#
+# Take out calibration
+#KFLAGS+=-DNO_CALIBRATION
+#KFLAGS+=-DNO_DCDC
#
# Define CONFIG_CALC_XLAW if you have a small number of channels and/or
# a small level 2 cache, to optimize for few channels
diff --git a/wcfxs.c b/wcfxs.c
index 1d924ac..8df338a 100755
--- a/wcfxs.c
+++ b/wcfxs.c
@@ -720,7 +720,7 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card)
printk("Unable to do FINAL ProSLIC powerup on module %d\n", card);
return -1;
}
-#if 1
+#ifndef NO_CALIBRATION
/* Perform calibration */
if (wcfxs_calibrate(wc, card)) {
printk("ProSlic died on Calibration.\n");
diff --git a/wctdm.c b/wctdm.c
index 1d924ac..8df338a 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -720,7 +720,7 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card)
printk("Unable to do FINAL ProSLIC powerup on module %d\n", card);
return -1;
}
-#if 1
+#ifndef NO_CALIBRATION
/* Perform calibration */
if (wcfxs_calibrate(wc, card)) {
printk("ProSlic died on Calibration.\n");