diff options
Diffstat (limited to 'io-module/machine/mtcpm.c')
-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); |