From patchwork Fri Nov 22 00:41:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 21671 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8773C20E7C for ; Fri, 22 Nov 2013 00:42:15 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id m10sf1058854vbh.0 for ; Thu, 21 Nov 2013 16:42:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=XdVXEyxbSDSdP/8topWKa7Y7mznroUSe3v9gjkcgBMg=; b=VbtCFjdPFHud8CuuCDeM6rOxU3+4XdwMiH8mybkBYt4JlB2EAgANodKXQyrk+PCGwl 4e1TRrUioNwfvjEbacP0Ff3MrL4aW3agXDVUBziLdGMb1TK1WAwRsT3AD99A86UvKWaZ YqLdN2iLfFAnKMUbM+FFBlCmg0xsDpA67+HX34o89OwbWg8Lr4E+eByKxjPIJIjbLNtW 7jpEsy0PEUdEBsxwD3RbsQMkrc7jFDoiUmjdeovSDU4MnNozP2hakTpZQ90Eq3j6EJRQ MAw3j8j8u59z3Ves0jWaEFlFtXIRuIpm1RT8HrQCHysQHOxnR6COzAITBhHluxPfHZCd Cxqg== X-Gm-Message-State: ALoCoQnaPwK9nmtCuGuLCceDRdxQz+SAExhT0FOMekGRD/ypD9uLYCXFaCwXyhTUcCW9AseGwsut X-Received: by 10.58.147.41 with SMTP id th9mr3056831veb.8.1385080935034; Thu, 21 Nov 2013 16:42:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.116.42 with SMTP id jt10ls710386qeb.66.gmail; Thu, 21 Nov 2013 16:42:14 -0800 (PST) X-Received: by 10.220.183.199 with SMTP id ch7mr79479vcb.27.1385080934921; Thu, 21 Nov 2013 16:42:14 -0800 (PST) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id e6si11632419vcb.69.2013.11.21.16.42.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Nov 2013 16:42:14 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id jw12so411983veb.10 for ; Thu, 21 Nov 2013 16:42:14 -0800 (PST) X-Received: by 10.58.168.205 with SMTP id zy13mr8512254veb.19.1385080934812; Thu, 21 Nov 2013 16:42:14 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp2868vcz; Thu, 21 Nov 2013 16:42:14 -0800 (PST) X-Received: by 10.66.227.39 with SMTP id rx7mr9562075pac.44.1385080933534; Thu, 21 Nov 2013 16:42:13 -0800 (PST) Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by mx.google.com with ESMTPS id sj5si18234760pab.255.2013.11.21.16.42.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Nov 2013 16:42:13 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.171 is neither permitted nor denied by best guess record for domain of al.stone@linaro.org) client-ip=209.85.192.171; Received: by mail-pd0-f171.google.com with SMTP id z10so510969pdj.2 for ; Thu, 21 Nov 2013 16:42:13 -0800 (PST) X-Received: by 10.66.145.166 with SMTP id sv6mr9188598pab.31.1385080933161; Thu, 21 Nov 2013 16:42:13 -0800 (PST) Received: from fidelio.ahs3.com (74-93-232-46-Colorado.hfc.comcastbusiness.net. [74.93.232.46]) by mx.google.com with ESMTPSA id pl1sm48881461pbb.20.2013.11.21.16.42.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Nov 2013 16:42:12 -0800 (PST) From: al.stone@linaro.org To: linux-acpi@vger.kernel.org Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Al Stone Subject: [PATCH v2 4/6] ACPI: ARM: exclude DMI calls Date: Thu, 21 Nov 2013 17:41:53 -0700 Message-Id: <1385080915-23430-5-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1385080915-23430-1-git-send-email-al.stone@linaro.org> References: <1385080915-23430-1-git-send-email-al.stone@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: al.stone@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Al Stone Modified #ifdef so that DMI is not used on ARM platforms which are currently implementing ACPI reduced HW mode. Signed-off-by: Al Stone --- include/linux/dmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/dmi.h b/include/linux/dmi.h index f820f0a..a03deb8 100644 --- a/include/linux/dmi.h +++ b/include/linux/dmi.h @@ -83,7 +83,7 @@ struct dmi_device { void *device_data; /* Type specific data */ }; -#ifdef CONFIG_DMI +#if IS_ENABLED(CONFIG_DMI) && !IS_ENABLED(CONFIG_ACPI_REDUCED_HARDWARE) struct dmi_dev_onboard { struct dmi_device dev;