From patchwork Sat May 11 01:23:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 10939689 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 66D20933 for ; Sat, 11 May 2019 01:23:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 519DF1FFE5 for ; Sat, 11 May 2019 01:23:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44CBF2015F; Sat, 11 May 2019 01:23:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 008CE1FFE5 for ; Sat, 11 May 2019 01:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=04PPbcFizd5yuMOeXeRi/zj6QWP3G8757MPMGJyJ2Zk=; b=XTjmZfX/soPY+O 2k7AYlgSaqJ0R8v7rt89kI5R7nPc2Eh9rdj4zckZSZSSWTVxzueOJxWMUCS8p3OwrDBlQ4EiaMg57 LEVf1XWi1giwgDkEvkMDOkI6VahQKECspcpfIoVXIGV5+eovvfRuQVrAIhdyTTYpMyqUtM+4IsCBW Lgr6Pukm/j0RwVoEvaXPcCX29UYWQonme224d4P51l6FYOQrgzqSwfLh+J/TIZxAXPnUECo0BDHtE jTYTpN3VOW7phXrgoqjhZBADqEG/Cm0sA6QM5WS9jgLW+HdA7PhnXKESWGXFqsF5jkjhygbdvA3Fy /80KGjxJ+kjVxA3pZFcw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hPGjv-0002J4-E9; Sat, 11 May 2019 01:23:51 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hPGjr-0002IM-QC for linux-arm-kernel@lists.infradead.org; Sat, 11 May 2019 01:23:49 +0000 Received: by mail-ed1-x542.google.com with SMTP id p26so7590289edr.2 for ; Fri, 10 May 2019 18:23:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8Sy6IJVq4VJSGNsCncCOevfEMVkxJ4DdVxf3Fz7dO1o=; b=rnMpbkIZV4iQ4uC1XfVbzikGIDK3Y+X7xhPA0psUZYD05UE/Dqd5RuIMhOxiYAFKqn uKs3xy3l40Rp4PJym3z08kOPIuHzjGzk2tezFv6qMlcYGEncR0+Y7n0whFx+kDsCB6Tb Z49SYnDW8VehUpLEXctnUsWYHTGT++65Lp23fGWAICCifApmLlteKtlNTK2oFp3mQ6lH ikukBB6HUN+zaBVSvGe1nLUw/HbhQ8ruWgpsy/T66ozOwjE5ykYJtuGBAtvUAPDllIxf /gCI9y5LGU9tCSG/+V5w754Nbb8UPqwBMl1/pqEk1U0JYG6UXtn9r/cJGpKeIlOC2zyt q7HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8Sy6IJVq4VJSGNsCncCOevfEMVkxJ4DdVxf3Fz7dO1o=; b=hDlTrQzhjPetErs8Ce71NJMLERufq8OoCVHKlB09WgWLF5a4ljDIB22UbpbeGcdc+F BtzcZGiXRe8dqX8953Y6gGezVBBKUNS78FvlC8OpqNYav8T/BWKJFG62s+hmcBr07D/L S3VRlRGwR/h7/oPtHWeCz62PVN6BwY7jESD9hoMlX/1KkFjn3vNmk+UduzQKK+KHHM/3 6xqk9IJDfQ0el77cHt37D83VdPqU6Bdj0BfkgFTxq6E/JRZQxp2lmB0q5zgrwbBLCC8f mjrPbr44e5opsv0c/SVyKWnPkliY/QIju+iX0iQ/DMGgTjBVt6xFK7sl4XJqSr1fW6Uu mCxQ== X-Gm-Message-State: APjAAAXiYJ2fnnMTG3K1Z4NCU7/z0hZkge0t3r6vqz3/qj8cVBRyEVFJ SU3Y++ewDqIJCsk12wmJJ48= X-Google-Smtp-Source: APXvYqx0DjxzxMiJASMnY3yXqVa1UNYgM9oYsPoKMw+8rRXJ93TwPZ8R959C69MGa/Os41aCsPmcww== X-Received: by 2002:a50:b3a4:: with SMTP id s33mr14924192edd.112.1557537824828; Fri, 10 May 2019 18:23:44 -0700 (PDT) Received: from localhost.localdomain ([2a01:4f9:2b:2b84::2]) by smtp.gmail.com with ESMTPSA id r3sm941779ejb.88.2019.05.10.18.23.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 May 2019 18:23:44 -0700 (PDT) From: Nathan Chancellor To: Amelie Delaunay , Lee Jones Subject: [PATCH] mfd: stmfx: Fix macro definition spelling Date: Fri, 10 May 2019 18:23:01 -0700 Message-Id: <20190511012301.2661-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Patchwork-Bot: notify X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190510_182347_872440_C34AE472 X-CRM114-Status: GOOD ( 10.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Maxime Coquelin , Nathan Chancellor , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Clang warns: In file included from drivers/mfd/stmfx.c:13: include/linux/mfd/stmfx.h:7:9: warning: 'MFD_STMFX_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] Fixes: 06252ade9156 ("mfd: Add ST Multi-Function eXpander (STMFX) core driver") Link: https://github.com/ClangBuiltLinux/linux/issues/475 Signed-off-by: Nathan Chancellor Reviewed-by: Amelie Delaunay --- include/linux/mfd/stmfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/stmfx.h b/include/linux/mfd/stmfx.h index d890595b89b6..3c67983678ec 100644 --- a/include/linux/mfd/stmfx.h +++ b/include/linux/mfd/stmfx.h @@ -5,7 +5,7 @@ */ #ifndef MFD_STMFX_H -#define MFX_STMFX_H +#define MFD_STMFX_H #include