From aca8e691201a46bcdd2e9d9d1df581265d9e6a6c Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 27 Oct 2020 17:18:07 -0500 Subject: cpu directory needed for both MTCDT3 hardware versions --- io-module/machine/mtcpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3