summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-27 17:18:07 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-27 17:18:07 -0500
commitaca8e691201a46bcdd2e9d9d1df581265d9e6a6c (patch)
treebe866b36224e793bdb3d8bd7dbbb3d4af4c4e36a
parent98f14574f34c60a31a3034801cc50f76243d801d (diff)
downloadmts-io-aca8e691201a46bcdd2e9d9d1df581265d9e6a6c.tar.gz
mts-io-aca8e691201a46bcdd2e9d9d1df581265d9e6a6c.tar.bz2
mts-io-aca8e691201a46bcdd2e9d9d1df581265d9e6a6c.zip
cpu directory needed for both MTCDT3 hardware versions4.4.3
-rw-r--r--io-module/machine/mtcpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/machine/mtcpm.c b/io-module/machine/mtcpm.c
index 32b0dc5..df771cd 100644
--- a/io-module/machine/mtcpm.c
+++ b/io-module/machine/mtcpm.c
@@ -270,7 +270,7 @@ static struct kobject *mts_cpu_kobject = NULL;
static int mts_cpu_dir_create(uint8_t hw_version)
{
- if (hw_version != MTCPM_0_0 || hw_version != MTCPM_0_1)
+ if (hw_version != MTCPM_0_0 && hw_version != MTCPM_0_1)
return 0;
mts_cpu_kobject = kobject_create_and_add("cpu", &mts_io_platform_device->dev.kobj);