lkml.org 
[lkml]   [2010]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] acpi: Provide decls for standalone compilation of video.h without ACPI (v2)
From
Date
On Sun, 2010-09-05 at 21:51 +0800, Chris Wilson wrote:
> 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>

Acked-by: Zhang Rui <rui.zhang@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..0e98e67 100644
> --- a/include/acpi/video.h
> +++ b/include/acpi/video.h
> @@ -1,6 +1,10 @@
> #ifndef __ACPI_VIDEO_H
> #define __ACPI_VIDEO_H
>
> +#include <linux/errno.h> /* for ENODEV */
> +
> +struct acpi_device;
> +
> #define ACPI_VIDEO_DISPLAY_CRT 1
> #define ACPI_VIDEO_DISPLAY_TV 2
> #define ACPI_VIDEO_DISPLAY_DVI 3
> @@ -26,4 +30,3 @@ static inline int acpi_video_get_edid(struct acpi_device *device, int type,
> #endif
>
> #endif
> -




\
 
 \ /
  Last update: 2010-11-12 02:13    [W:0.131 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site