From patchwork Fri Nov 22 23:27:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lv Zheng X-Patchwork-Id: 3224481 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1FE33C045B for ; Fri, 22 Nov 2013 23:29:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41AFB207AA for ; Fri, 22 Nov 2013 23:29:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6AAFF207A1 for ; Fri, 22 Nov 2013 23:29:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756279Ab3KVX3M (ORCPT ); Fri, 22 Nov 2013 18:29:12 -0500 Received: from mail-pd0-f179.google.com ([209.85.192.179]:51676 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755609Ab3KVX3L (ORCPT ); Fri, 22 Nov 2013 18:29:11 -0500 Received: by mail-pd0-f179.google.com with SMTP id r10so1869806pdi.24 for ; Fri, 22 Nov 2013 15:29:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GzAMHIlJ6aIirJ96qAosQSuw9C1KxSokLNSPuBad1/A=; b=xWsFw2t1t4yw7ebDSsR5p6u2naLM3xZzaaOhO1gWfqCZjktbeV1r3w3UU//17Lx61e 9nFj+yewGHbRtgvsUWUPnWH+VtzE+oleHw4tdPeuElq431+hy/eJSNOwnTgsW31JujAo k3AeqjOv67V7phwCK8nCZnpkvycQP+7RyjfTllXpF6oJlTtT2X9mUPDHcNXAJwL771D7 Ztiu1fOCEA847vgKvN8leUsuFKpKVgmOt87ZC5SJjbTGl1RUPSqdlnORrLMdWopp8uP9 a4orKy4T4BYqJNvOG9FoVGfhr9Wt7Lv7eAw/pjKFh/G3sxiU+jlH79Jqfth3QRlaSxWz ffTQ== X-Received: by 10.66.121.131 with SMTP id lk3mr14647049pab.61.1385162951028; Fri, 22 Nov 2013 15:29:11 -0800 (PST) Received: from localhost.localdomain ([121.76.27.197]) by mx.google.com with ESMTPSA id ha10sm55828319pbd.17.2013.11.22.15.28.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Nov 2013 15:29:10 -0800 (PST) From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org Subject: [PATCH 1/4] ACPICA: Linux: Cleanup wrong ACPICA inclusions. Date: Sat, 23 Nov 2013 07:27:27 +0800 Message-Id: X-Mailer: git-send-email 1.7.10 In-Reply-To: References: Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Lv Zheng The header file is the top level header for other kernel subsystems to include. It contains environemnt settings and architecture specific implementation that should be included before including other ACPICA headers in order to keep a consistent build environment for ACPICA users. All following internal ACPICA header files thus should be included from and not included by other kernel files: : included by : included by : included by : included by : included by This patch cleans up inclusions of above files from non ACPICA source files. Signed-off-by: Lv Zheng --- drivers/acpi/nvs.c | 1 - drivers/hwmon/asus_atk0110.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c index 266bc58..386a9fe 100644 --- a/drivers/acpi/nvs.c +++ b/drivers/acpi/nvs.c @@ -13,7 +13,6 @@ #include #include #include -#include /* ACPI NVS regions, APEI may use it */ diff --git a/drivers/hwmon/asus_atk0110.c b/drivers/hwmon/asus_atk0110.c index 1d7ff46..dafc63c 100644 --- a/drivers/hwmon/asus_atk0110.c +++ b/drivers/hwmon/asus_atk0110.c @@ -18,7 +18,6 @@ #include #include -#include #include #include