diff mbox

acpi: fix acpi/video.h error and warning when PM is not enabled

Message ID 20101116165954.f7d8540b.randy.dunlap@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Randy Dunlap Nov. 17, 2010, 12:59 a.m. UTC
None
diff mbox

Patch

--- lnx-2637-rc2.orig/include/acpi/video.h
+++ lnx-2637-rc2/include/acpi/video.h
@@ -1,6 +1,10 @@ 
 #ifndef __ACPI_VIDEO_H
 #define __ACPI_VIDEO_H
 
+#include <linux/errno.h>
+
+struct acpi_device;
+
 #define ACPI_VIDEO_DISPLAY_CRT  1
 #define ACPI_VIDEO_DISPLAY_TV   2
 #define ACPI_VIDEO_DISPLAY_DVI  3