From patchwork Fri Nov 19 16:02:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 340331 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAJG392L030106 for ; Fri, 19 Nov 2010 16:03:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755371Ab0KSQCR (ORCPT ); Fri, 19 Nov 2010 11:02:17 -0500 Received: from zone0.gcu-squad.org ([212.85.147.21]:5698 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755232Ab0KSQCP (ORCPT ); Fri, 19 Nov 2010 11:02:15 -0500 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=endymion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1PJTW3-0004sR-Bg (TLSv1:AES128-SHA:128) (envelope-from ) ; Fri, 19 Nov 2010 17:08:47 +0100 Date: Fri, 19 Nov 2010 17:02:00 +0100 From: Jean Delvare To: Len Brown Cc: linux-acpi@vger.kernel.org Subject: [PATCH] ACPI: Fix when CONFIG_ACPI_VIDEO=n Message-ID: <20101119170200.2db4ab81@endymion.delvare> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 19 Nov 2010 16:03:10 +0000 (UTC) --- linux-2.6.37-rc2.orig/include/acpi/video.h 2010-11-19 14:56:45.000000000 +0100 +++ linux-2.6.37-rc2/include/acpi/video.h 2010-11-19 15:00:23.000000000 +0100 @@ -1,6 +1,8 @@ #ifndef __ACPI_VIDEO_H #define __ACPI_VIDEO_H +#include + #define ACPI_VIDEO_DISPLAY_CRT 1 #define ACPI_VIDEO_DISPLAY_TV 2 #define ACPI_VIDEO_DISPLAY_DVI 3 @@ -10,6 +12,8 @@ #define ACPI_VIDEO_DISPLAY_LEGACY_PANEL 0x0110 #define ACPI_VIDEO_DISPLAY_LEGACY_TV 0x0200 +struct acpi_device; + #if (defined CONFIG_ACPI_VIDEO || defined CONFIG_ACPI_VIDEO_MODULE) extern int acpi_video_register(void); extern void acpi_video_unregister(void);