From patchwork Wed Dec 5 11:08:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael Wysocki X-Patchwork-Id: 1840991 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 9B8DDDF266 for ; Wed, 5 Dec 2012 11:03:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752846Ab2LELDX (ORCPT ); Wed, 5 Dec 2012 06:03:23 -0500 Received: from hydra.sisk.pl ([212.160.235.94]:40203 "EHLO hydra.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338Ab2LELDU (ORCPT ); Wed, 5 Dec 2012 06:03:20 -0500 Received: from vostro.rjw.lan (aeqz91.neoplus.adsl.tpnet.pl [79.191.181.91]) by hydra.sisk.pl (Postfix) with ESMTPSA id 68CFDE3EE4; Wed, 5 Dec 2012 12:04:58 +0100 (CET) From: "Rafael J. Wysocki" To: ACPI Devel Maling List Cc: LKML , Linux PM list , Mika Westerberg Subject: [PATCH] ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h Date: Wed, 05 Dec 2012 12:08:12 +0100 Message-ID: <3898205.CQSHFfLUWL@vostro.rjw.lan> User-Agent: KMail/4.9.3 (Linux/3.7.0-rc8; KDE/4.9.3; x86_64; ; ) MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Rafael J. Wysocki The header of acpi_dev_pm_detach() in include/linux/acpi.h has an incorrect return type, which should be void. Fix that. Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg --- include/linux/acpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux/include/linux/acpi.h =================================================================== --- linux.orig/include/linux/acpi.h +++ linux/include/linux/acpi.h @@ -506,7 +506,7 @@ static inline int acpi_subsys_resume_ear #if defined(CONFIG_ACPI) && defined(CONFIG_PM) int acpi_dev_pm_attach(struct device *dev, bool power_on); -int acpi_dev_pm_detach(struct device *dev, bool power_off); +void acpi_dev_pm_detach(struct device *dev, bool power_off); #else static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) {