[alsa-devel] [PATCH 18/21] ALSA: hda/hdmi - fix vgaswitcheroo detection for AMD

Takashi Iwai tiwai at suse.de
Tue Oct 29 06:49:08 CET 2019


On Mon, 28 Oct 2019 22:42:13 +0100,
Alex Deucher wrote:
> 
> @@ -35,6 +35,11 @@
>  #include <linux/clocksource.h>
>  #include <linux/time.h>
>  #include <linux/completion.h>
> +#ifdef SUPPORT_VGA_SWITCHEROO
> +#ifdef CONFIG_ACPI
> +#include <linux/acpi.h>
> +#endif
> +#endif

I don't think we need ifdefs here.
Other than that,
  Reviewed-by: Takashi Iwai <tiwai at suse.de>


thanks,

Takashi


More information about the Alsa-devel mailing list