From patchwork Thu Nov 11 00:15:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 316122 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 oAB0MkBo011473 for ; Thu, 11 Nov 2010 00:22:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756741Ab0KKAWn (ORCPT ); Wed, 10 Nov 2010 19:22:43 -0500 Received: from a.ns.miles-group.at ([95.130.255.143]:43066 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756731Ab0KKAWm (ORCPT ); Wed, 10 Nov 2010 19:22:42 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 11 Nov 2010 00:22:46 +0000 (UTC) X-Greylist: delayed 401 seconds by postgrey-1.27 at vger.kernel.org; Wed, 10 Nov 2010 19:22:42 EST Received: (qmail 12645 invoked by uid 89); 11 Nov 2010 00:15:59 -0000 Received: by simscan 1.3.1 ppid: 12622, pid: 12641, t: 0.2188s scanners: attach: 1.3.1 clamav: 0.92.1 /m: Received: from unknown (HELO localhost.localdomain) (richard@nod.at@212.183.98.214) by radon.swed.at with ESMTPA; 11 Nov 2010 00:15:59 -0000 From: Richard Weinberger To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Weinberger Subject: [PATCH] acpi: ENODEV needs errno.h Date: Thu, 11 Nov 2010 01:15:51 +0100 Message-Id: <1289434551-32507-1-git-send-email-richard@nod.at> X-Mailer: git-send-email 1.6.6.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/include/acpi/video.h b/include/acpi/video.h index 551793c..7a0797b 100644 --- a/include/acpi/video.h +++ b/include/acpi/video.h @@ -16,6 +16,9 @@ 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 + 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,