From patchwork Wed Nov 17 00:59:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 330281 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 oAH11Q6h005597 for ; Wed, 17 Nov 2010 01:02:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933263Ab0KQBB0 (ORCPT ); Tue, 16 Nov 2010 20:01:26 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]:26190 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932636Ab0KQBBZ (ORCPT ); Tue, 16 Nov 2010 20:01:25 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAH10iRc012873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Nov 2010 01:00:45 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAH0JKNs021423; Wed, 17 Nov 2010 01:00:41 GMT Received: from abhmt010.oracle.com by acsmt354.oracle.com with ESMTP id 784481651289955596; Tue, 16 Nov 2010 16:59:56 -0800 Received: from chimera.site (/173.50.240.230) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 16 Nov 2010 16:59:55 -0800 Date: Tue, 16 Nov 2010 16:59:54 -0800 From: Randy Dunlap To: Linus Torvalds , lenb@kernel.org, linux-acpi@vger.kernel.org Cc: Linux Kernel Mailing List Subject: [PATCH] acpi: fix acpi/video.h error and warning when PM is not enabled Message-Id: <20101116165954.f7d8540b.randy.dunlap@oracle.com> In-Reply-To: References: Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; 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]); Wed, 17 Nov 2010 01:02:09 +0000 (UTC) --- 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 + +struct acpi_device; + #define ACPI_VIDEO_DISPLAY_CRT 1 #define ACPI_VIDEO_DISPLAY_TV 2 #define ACPI_VIDEO_DISPLAY_DVI 3