summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautomated/linux/device-tree/device-tree.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/automated/linux/device-tree/device-tree.sh b/automated/linux/device-tree/device-tree.sh
index 9ce35b5..4a80550 100755
--- a/automated/linux/device-tree/device-tree.sh
+++ b/automated/linux/device-tree/device-tree.sh
@@ -29,13 +29,13 @@ SYSFS_DEVICE_TREE="/sys/firmware/devicetree/base/"
DEVICE_TREE="/proc/device-tree"
MODEL="model"
COMPATIBLE="compatible"
-SKIP_LIST_2="device-tree-"${MODLE}" device-tree-"${COMPATIBLE}""
-SKIP_LIST_1="device_tree "${SKIP_LIST_2}""
+DT_SKIP_LIST_2="device-tree-"${MODEL}" device-tree-"${COMPATIBLE}""
+DT_SKIP_LIST_1="device_tree "${DT_SKIP_LIST_2}""
# Check if /proc/device-tree is available
device_tree() {
[ -d "${DEVICE_TREE}" ]
- exit_on_fail "device-tree" "${SKIP_LIST_2}"
+ exit_on_fail "device-tree" "${DT_SKIP_LIST_2}"
}
# Check device tree property
@@ -57,7 +57,7 @@ CONFIG_PROC_FS=$(zcat /proc/config.gz | grep CONFIG_PROC_FS)
CONFIG_OF=$(zcat /proc/config.gz | grep "CONFIG_OF=")
[ "${CONFIG_PROC_FS}" = "CONFIG_PROC_FS=y" ] && [ "${CONFIG_OF}" = "CONFIG_OF=y" ] && [ -d "${SYSFS_DEVICE_TREE}" ]
-exit_on_fail "device-tree-Kconfig" "${SKIP_LIST_1}"
+exit_on_fail "device-tree-Kconfig" "${DT_SKIP_LIST_1}"
device_tree
device_tree_property "${MODEL}"
device_tree_property "${COMPATIBLE}"