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