From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20CA4C2BA19 for ; Wed, 15 Apr 2020 14:56:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 06AAB208FE for ; Wed, 15 Apr 2020 14:56:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S371110AbgDOOz7 (ORCPT ); Wed, 15 Apr 2020 10:55:59 -0400 Received: from mga06.intel.com ([134.134.136.31]:26553 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S371074AbgDOOzp (ORCPT ); Wed, 15 Apr 2020 10:55:45 -0400 IronPort-SDR: SsMhcEu6sPyt+4EakN3jNBz2k5uALjFYU1lNLvxRftVbqacqt7x8cRQGvPEXtrsro1HlTwPYze LckqKoSKCFJg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2020 07:55:43 -0700 IronPort-SDR: NC6RuC1eboeplZ+JnOdr3jKnW0YZOOCsnVqbsW5kaYxbCIljnUwqwfKZGD0z4ADbcKDWt5+s+q 2w8C8bq1PRDg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,387,1580803200"; d="scan'208";a="400336903" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga004.jf.intel.com with ESMTP; 15 Apr 2020 07:55:41 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 1B1FF190; Wed, 15 Apr 2020 17:55:40 +0300 (EEST) From: Andy Shevchenko To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, Mark Brown , linux-kernel@vger.kernel.org Cc: Andy Shevchenko Subject: [PATCH v4 1/9] x86/platform: Rename x86/apple.h -> x86/machine.h Date: Wed, 15 Apr 2020 17:55:16 +0300 Message-Id: <20200415145524.31745-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200415145524.31745-1-andriy.shevchenko@linux.intel.com> References: <20200415145524.31745-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.25.1