Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9323106ybl; Fri, 17 Jan 2020 09:58:54 -0800 (PST) X-Google-Smtp-Source: APXvYqySNhegvUFNfN9UnDL3pYhSjrLc3AR6Bff+XXSqbfJmaQ8o85F3gdvxLD0vt/oc1kuirWBe X-Received: by 2002:a9d:7f12:: with SMTP id j18mr7335056otq.17.1579283933950; Fri, 17 Jan 2020 09:58:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579283933; cv=none; d=google.com; s=arc-20160816; b=Hfuc1EpWf7Uvu1YShPCiL0t3vKxk3+ruYcH18/CqyXGz+L+7dD6obROmOsiAwI7M8O cyi/6spYGhQHVSsbtCZpku9/iFfaLi+4Wm7abwpyjiHN1wihaCbqJwqYWbp1xk2AKX9t bDefSmBhwNnvESSszxlN0olYOocmw9UX2sLBgxz+G3Er5cNOXM9ilIy6cFnItEWGzFoa voOtCq0aNE1vqx5jl9d/3M6H9fkI1SLCqbXGLnIggVV4yk1CAIJD/T2OtBb/YGNV5plh SIMo5h2PKwdGwXozMoZp/iNIc6XGWxJh4yuHOoyEi4wy+U0/Wzns63G3bM5lbAOyf/mf 5teA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=nZryXytMwayH5KzqMrHdR3GPLPgfGjzelABqr4RtEiE=; b=iPhTPwroTd/hatf7wk+V4s6lMTiqZh5CBfef0bT9M0jWufL1BKrRHjzCsiuAcq/qpw Y9vhaQI+j6j38syUI/y4X6EDeqwAy8FSKQkdJ0VvsxMoP5yewDrRSvKjGydapsq8hOX1 BaZQqDJvY4/0Pep4Sz4exxg8LuLEQ7vbeuStQ4Ot5eIQMNCVcPafs6RVM7SSb3nFD58k KwJkO/ohK9a9igdgF5rbYzuvE+7vyX65E3QlSQPiShTDl/PyNOCXTvS032wjMHez3r/S i0RIjDKyxil1bORNGoB8/+Uln+skuFYuOGJkb8yA077ljpMi22FGnhaj9jxF0KQZobtO H7Fg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13si14550747otd.186.2020.01.17.09.58.42; Fri, 17 Jan 2020 09:58:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726935AbgAQR4e (ORCPT + 99 others); Fri, 17 Jan 2020 12:56:34 -0500 Received: from mga01.intel.com ([192.55.52.88]:52962 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729022AbgAQR4c (ORCPT ); Fri, 17 Jan 2020 12:56:32 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2020 09:56:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,331,1574150400"; d="scan'208";a="226419537" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga003.jf.intel.com with ESMTP; 17 Jan 2020 09:56:28 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id E88C073; Fri, 17 Jan 2020 19:56:26 +0200 (EET) From: Andy Shevchenko To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org, "Guilherme G . Piccoli" , linux-kernel@vger.kernel.org Cc: Andy Shevchenko Subject: [PATCH v1 2/8] x86/platform: Rename x86/apple.h -> x86/machine.h Date: Fri, 17 Jan 2020 19:56:20 +0200 Message-Id: <20200117175626.56358-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200117175626.56358-1-andriy.shevchenko@linux.intel.com> References: <20200117175626.56358-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename linux/platform_data/x86/apple.h to linux/platform_data/x86/machine.h in order to add new quirks later on. For sake of being less intrusive, leave former file that includes a latter one. While here, add include to linux/types.h due to bool type in use. Signed-off-by: Andy Shevchenko --- include/linux/platform_data/x86/apple.h | 14 +------------- include/linux/platform_data/x86/machine.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 include/linux/platform_data/x86/machine.h diff --git a/include/linux/platform_data/x86/apple.h b/include/linux/platform_data/x86/apple.h index 079e816c3c21..1fd0af6ffea9 100644 --- a/include/linux/platform_data/x86/apple.h +++ b/include/linux/platform_data/x86/apple.h @@ -1,13 +1 @@ -#ifndef PLATFORM_DATA_X86_APPLE_H -#define PLATFORM_DATA_X86_APPLE_H - -#ifdef CONFIG_X86 -/** - * x86_apple_machine - whether the machine is an x86 Apple Macintosh - */ -extern bool x86_apple_machine; -#else -#define x86_apple_machine false -#endif - -#endif +#include diff --git a/include/linux/platform_data/x86/machine.h b/include/linux/platform_data/x86/machine.h new file mode 100644 index 000000000000..b1e7a560a046 --- /dev/null +++ b/include/linux/platform_data/x86/machine.h @@ -0,0 +1,15 @@ +#ifndef PLATFORM_DATA_X86_MACHINE_H +#define PLATFORM_DATA_X86_MACHINE_H + +#include + +#ifdef CONFIG_X86 +/** + * x86_apple_machine - whether the machine is an x86 Apple Macintosh + */ +extern bool x86_apple_machine; +#else +#define x86_apple_machine false +#endif + +#endif /* PLATFORM_DATA_X86_MACHINE_H */ -- 2.24.1