public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] acpi: Provide decls for standalone compilation of video.h without ACPI
@ 2010-09-05 13:35 Chris Wilson
  2010-09-05 13:51 ` [PATCH] acpi: Provide decls for standalone compilation of video.h without ACPI (v2) Chris Wilson
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Wilson @ 2010-09-05 13:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: Chris Wilson, Matthew Garrett, Zhang Rui, Len Brown

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Len Brown <len.brown@intel.com>
---
 include/acpi/video.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/include/acpi/video.h b/include/acpi/video.h
index 551793c..bcb4f00 100644
--- a/include/acpi/video.h
+++ b/include/acpi/video.h
@@ -16,6 +16,10 @@ extern void acpi_video_unregister(void);
 extern int acpi_video_get_edid(struct acpi_device *device, int type,
 			       int device_id, void **edid);
 #else
+
+#include <linux/errno.h> /* for ENODEV */
+struct acpi_device;
+
 static inline int acpi_video_register(void) { return 0; }
 static inline void acpi_video_unregister(void) { return; }
 static inline int acpi_video_get_edid(struct acpi_device *device, int type,
@@ -26,4 +30,3 @@ static inline int acpi_video_get_edid(struct acpi_device *device, int type,
 #endif
 
 #endif
-
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-30 23:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-05 13:35 [PATCH] acpi: Provide decls for standalone compilation of video.h without ACPI Chris Wilson
2010-09-05 13:51 ` [PATCH] acpi: Provide decls for standalone compilation of video.h without ACPI (v2) Chris Wilson
2010-11-10 12:08   ` Chris Wilson
2010-11-10 20:33     ` Rafael J. Wysocki
2010-11-12  1:12   ` Zhang Rui
2010-11-12  2:57     ` Zhang Rui
2010-11-30 23:52   ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox