[PATCH openEuler-5.10 115/427] macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled