summaryrefslogtreecommitdiff
path: root/drivers/dahdi/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/Kbuild')
-rw-r--r--drivers/dahdi/Kbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild
index 106b8fd..329899e 100644
--- a/drivers/dahdi/Kbuild
+++ b/drivers/dahdi/Kbuild
@@ -30,8 +30,10 @@ EXTRA_CFLAGS += $(ECHO_CAN_CFLAGS)
ifndef HOTPLUG_FIRMWARE
ifneq (,$(filter y m,$(CONFIG_FW_LOADER)))
HOTPLUG_FIRMWARE := yes
-export HOTPLUG_FIRMWARE
+else
+HOTPLUG_FIRMWARE := no
endif
+export HOTPLUG_FIRMWARE
endif
# fix typo present in CentOS and RHEL 2.6.9 kernels