summaryrefslogtreecommitdiff
path: root/io-module/machine
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-27 11:39:36 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-27 11:39:36 -0500
commit98f14574f34c60a31a3034801cc50f76243d801d (patch)
tree8f19bcedef38b6b40ed35f6ddafaeef98e31c2fd /io-module/machine
parentfb2210e2cf1165f1fdd7dd5dbffb6e86e3de49e3 (diff)
downloadmts-io-98f14574f34c60a31a3034801cc50f76243d801d.tar.gz
mts-io-98f14574f34c60a31a3034801cc50f76243d801d.tar.bz2
mts-io-98f14574f34c60a31a3034801cc50f76243d801d.zip
Create CPU directory for MTCPM-0.1
Diffstat (limited to 'io-module/machine')
-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 8167218..32b0dc5 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)
+ 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);