summaryrefslogtreecommitdiffstats
path: root/install/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'install/mmc')
-rw-r--r--install/mmc7
1 files changed, 3 insertions, 4 deletions
diff --git a/install/mmc b/install/mmc
index fb89239..60068df 100644
--- a/install/mmc
+++ b/install/mmc
@@ -1,10 +1,9 @@
#!/bin/bash
build() {
- MODULES=$(checked_modules "/mmc")
-
- if [[ $MODULES ]]; then
- MODULES+=" tifm_7xx1 mmc_block"
+ if add_checked_modules '/mmc'; then
+ add_module 'tifm_7xx1'
+ add_module 'mmc_block'
fi
}