vga_switcheroo: fix build on platforms with no ACPI

radeon was always including the atpx code unnecessarily, also core
switcheroo was including acpi headers.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2010-03-01 21:50:01 +11:00
committed by Dave Airlie
parent 55a5cb5d59
commit 8edb381d67
7 changed files with 24 additions and 6 deletions

View File

@@ -7,7 +7,6 @@
* vga_switcheroo.h - Support for laptop with dual GPU using one set of outputs
*/
#include <acpi/acpi.h>
#include <linux/fb.h>
enum vga_switcheroo_state {