trs80m1: devinput sync with graphics changes
authorAlan Cox <alan@linux.intel.com>
Fri, 6 Jul 2018 21:22:46 +0000 (22:22 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 6 Jul 2018 21:22:46 +0000 (22:22 +0100)
Kernel/platform-trs80m1/devinput.c

index 36c85b6..60bf1f1 100644 (file)
@@ -30,7 +30,7 @@ int platform_input_read(uint8_t *slot)
     }
 
     /* Clashes with Alpha joystick */
-    if (has_hr1g)
+    if (has_hrg1)
         return 0;
 
     r = ~stick;
@@ -74,7 +74,7 @@ int platform_input_write(uint8_t flag)
 
 void poll_input(void)
 {
-    if (has_hr1g)
+    if (has_hrg1)
         return;
     if (~stick != old_stick)
         wakeup(&kqueue);