From patchwork Sat Apr 2 10:29:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Leroy X-Patchwork-Id: 12799078 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2EBE0C433F5 for ; Sat, 2 Apr 2022 10:30:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qPxOw6jLflnYEQWP7f7fzh0SuVrw7W6iZ0OaKG0Zzd8=; b=mGyXTyL33Om/JE mQKYJRvSGZmHjNFIzA617uvKAO9JRIAN8NJWxNJEf/zCHiNg13Aj7aDRBb7i1/HqmMWrdjremht21 qQoPxkbOLiDbct/DqwL+QNHDW/NhxozuEithTfAayG7BQHSfKyn5LJibHVgi0imtg0sYJCEKCBR4r 4BAWIvQP5nDdxxTkfgtCWdhmLUFiZC5JqU51VEAqKXPgMLYQ5JPxCXKMXKzINY9Cnjw2F6iDYYPUI yf83oHQej4LwdAbCosvR+IlRCxmc6mcxea/KsPKMBzuBNIhw17uwI9r1leojD0TbU61gM/v/UPsUD YqQblNDaFXU2w/4zL2lQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nab0u-008UwA-5M; Sat, 02 Apr 2022 10:29:48 +0000 Received: from pegase2.c-s.fr ([93.17.235.10]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nab0o-008Usm-GO for linux-arm-kernel@lists.infradead.org; Sat, 02 Apr 2022 10:29:46 +0000 Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4KVtZV0sj3z9sSb; Sat, 2 Apr 2022 12:29:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id um39nUGiJxRy; Sat, 2 Apr 2022 12:29:38 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4KVtZT5tNpz9sSQ; Sat, 2 Apr 2022 12:29:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B70DC8B76D; Sat, 2 Apr 2022 12:29:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id UhIJN4BzORPW; Sat, 2 Apr 2022 12:29:37 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (unknown [192.168.202.136]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 78EB78B768; Sat, 2 Apr 2022 12:29:37 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.16.1) with ESMTPS id 232ATWE1685821 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 2 Apr 2022 12:29:32 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 232ATUIE685820; Sat, 2 Apr 2022 12:29:30 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Arnd Bergmann , Greg Kroah-Hartman , Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-integrity@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] char: tpm: Prepare cleanup of powerpc's asm/prom.h Date: Sat, 2 Apr 2022 12:29:19 +0200 Message-Id: X-Mailer: git-send-email 2.35.1 In-Reply-To: <7a522d9029737d7a1fb513529659321ed62d50d9.1648895070.git.christophe.leroy@csgroup.eu> References: <7a522d9029737d7a1fb513529659321ed62d50d9.1648895070.git.christophe.leroy@csgroup.eu> MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1648895353; l=1196; s=20211009; h=from:subject:message-id; bh=wSCumnp9XggBlThPYk0xbVFOfQCfn4BwRASVoIH+/0g=; b=tnQ/Y9RsTkls/KJxmWUPV5nyCGpquPxpDvauKKLqkHRj4JYZxDyZt1lzDpHJhE11NE92qKg2soTA yVOoy2x4BiD4uqZz2DwSg7tP5jTcWi4nRbirFWc2EqLMB+30xpdp X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220402_032943_333852_60EB6FC3 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org powerpc's asm/prom.h brings some headers that it doesn't need itself. In order to clean it up, first add missing headers in users of asm/prom.h Signed-off-by: Christophe Leroy --- drivers/char/tpm/tpm_atmel.h | 2 -- drivers/char/tpm/tpm_ibmvtpm.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h index ba37e77e8af3..959f7cce8301 100644 --- a/drivers/char/tpm/tpm_atmel.h +++ b/drivers/char/tpm/tpm_atmel.h @@ -26,8 +26,6 @@ struct tpm_atmel_priv { #ifdef CONFIG_PPC64 -#include - #define atmel_getb(priv, offset) readb(priv->iobase + offset) #define atmel_putb(val, priv, offset) writeb(val, priv->iobase + offset) #define atmel_request_region request_mem_region diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c index 3af4c07a9342..1180cce7067a 100644 --- a/drivers/char/tpm/tpm_ibmvtpm.c +++ b/drivers/char/tpm/tpm_ibmvtpm.c @@ -20,7 +20,6 @@ #include #include #include -#include #include "tpm.h" #include "tpm_ibmvtpm.h"