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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65CB4C433F5 for ; Wed, 20 Oct 2021 21:40:30 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C79E610E6 for ; Wed, 20 Oct 2021 21:40:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4C79E610E6 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5F70283405; Wed, 20 Oct 2021 23:40:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="oMYkFu5O"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E4242833C2; Wed, 20 Oct 2021 23:31:43 +0200 (CEST) Received: from mail-pj1-x104a.google.com (mail-pj1-x104a.google.com [IPv6:2607:f8b0:4864:20::104a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A6E08833C2 for ; Wed, 20 Oct 2021 23:31:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=3uopwYQYKBqMDGHOYDJRRJOH.FRPX-ERRWOLVWV.GHQa.GH@flex--adelva.bounces.google.com Received: by mail-pj1-x104a.google.com with SMTP id bt5-20020a17090af00500b001a070233029so2408388pjb.4 for ; Wed, 20 Oct 2021 14:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=dwnMsOfpYpk8r+zMrAyJLMwm+EasR7A4v214lnW/klc=; b=oMYkFu5OeyNqTFBa6l8pljcr8iEw05tmLwfoN+3GuXj/Wyos7skPFjIUtphrARY+Wt HrB19H0aNzkOf4kEsbzvxH51NXe+w5c4tSAhb1sjqYWt4DePKQZpGnSnkHULWX5bd4KH T2JXmxoWCRQM6sPUyxgJc91UVQBH8qGiRHJCjPe+YBXiIIDuSN4yekXqC0KzgOWQPmJs 9oZzpPJl0eFjFZE9pUNYUSyjthYTBgBwC0quUXu+yWsqBqIxniPXCeI7tztmvvy9VDYQ bqPFqgA+drFQFoGM/4LtVCMIuZDZmiQIs96gOISMVqgUEu/1J12GO4Om6+yb5Ammd37E vj0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=dwnMsOfpYpk8r+zMrAyJLMwm+EasR7A4v214lnW/klc=; b=riwIUwwx6qhwm+hoFiUhOsVE3FtDG8vYxeU7chi1J15Zhzsfa55Yeq/J59CdOiLE7J GeSeQUJHYnCO0rLYJVHhIfoedBBde+3SlvGUMIvoBKQ5jJID8Tl7qojcQq9xNLJ9cWTx pfdbLG+WDCEo/qS/q1TnaMF6Ev4CwQW34ytx9UML1DRfgmV9LXkM5dE8NCawaWb766v7 K1JbwRktoDDreDGwR2x7QM57JCu7UrP7wWxT6ZtTSnTXZIJZ1hY94NmGyDa24qcUbJ1q A5nuXgk6RtEcA/2ZUoU2oNSfW8esHQ1uMP75+l3FQyDi0v+qeIABpFCnhnawXHqUY2Gd RtDA== X-Gm-Message-State: AOAM532ZGorNQ40B02X0V8NksE6DU2x0+dWtccqfGS0OQl1YOtlHx218 o7hYdCu9iyJBLVT1IzX5px6jzDgvjLupbtE7LcuqrZE6Q6MnQZ93k97ANEbUwZ6EjdEvHyGGvSS D487wk8DjPDe9F3XLDolqbnE/xFzkChhbmEtCrQ8Wdv83GUnwHkOO7dXd0J0= X-Google-Smtp-Source: ABdhPJxAG1CnQu0dkzX+kOPkZSewwIlhqw+kOKx8PAWU/d4LKLKCkX2PknbWorv/FBdpAMSR2ZtiZ0MQiao= X-Received: from adelva.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:b2b]) (user=adelva job=sendgmr) by 2002:a17:90a:e010:: with SMTP id u16mr1673425pjy.217.1634765498755; Wed, 20 Oct 2021 14:31:38 -0700 (PDT) Date: Wed, 20 Oct 2021 21:31:30 +0000 In-Reply-To: <20211020213134.7534-1-adelva@google.com> Message-Id: <20211020213134.7534-2-adelva@google.com> Mime-Version: 1.0 References: <20211020213134.7534-1-adelva@google.com> X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog Subject: [PATCH] x86: Fix i8254 ifdef include guard From: Alistair Delva To: u-boot@lists.denx.de Cc: Simon Glass , Bin Meng Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Wed, 20 Oct 2021 23:39:55 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean When building U-Boot with clang, it notices that the i8254.h include guard does not work correctly due to a typo. Fix it. Signed-off-by: Alistair Delva Cc: Simon Glass Cc: Bin Meng --- arch/x86/include/asm/i8254.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/i8254.h b/arch/x86/include/asm/i8254.h index d769daf85d..bb8930338b 100644 --- a/arch/x86/include/asm/i8254.h +++ b/arch/x86/include/asm/i8254.h @@ -7,7 +7,7 @@ /* i8254.h Intel 8254 PIT registers */ #ifndef _ASMI386_I8254_H_ -#define _ASMI386_I8954_H_ +#define _ASMI386_I8254_H_ #define PIT_T0 0x00 /* PIT channel 0 count/status */ #define PIT_T1 0x01 /* PIT channel 1 count/status */ -- 2.30.2