diff options
author | John Klug <john.klug@multitech.com> | 2020-10-27 17:18:07 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-10-27 17:18:07 -0500 |
commit | aca8e691201a46bcdd2e9d9d1df581265d9e6a6c (patch) | |
tree | be866b36224e793bdb3d8bd7dbbb3d4af4c4e36a | |
parent | 98f14574f34c60a31a3034801cc50f76243d801d (diff) | |
download | mts-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.c | 2 |
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); |