From patchwork Tue Dec 11 00:05:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 10722781 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 27DDF17FE for ; Tue, 11 Dec 2018 00:06:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DBB328CC2 for ; Tue, 11 Dec 2018 00:06:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0121B2A300; Tue, 11 Dec 2018 00:06:14 +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 B2B3728CC2 for ; Tue, 11 Dec 2018 00:06:14 +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=MJtSLEhyRcyMoFfEe5wn3fi5pp9Kyj8Ukx8COVKmjMk=; b=KMlIBYePQufI17 6hMpnL2urKuNNmCAoABxvJJKkcuP1iZYC0imVB7rzRMVIh5NR6eGSHxVm6/+LC8j3ifpFnZV/JAT4 pswtcVbDFKdAa84BABKSka8sRZzMdg6IQ44PMdpt1w1s6GS3p0537s7lw1u/vqYPgciZc9lbUl679 W142BwJuJbD1iF9B9W8NX1SJplTGzImIDbiflzOeCbJIkEJFqYnWjKS3UlWvEwl9zX6zjlNLSl+/1 6d2w8hQrWl04O3AG8cTy1bUooQRswJVnSBSkexxBzSmkBRxOqg7+9OWThFjBYE9X42wP13B161cs5 wCJJ9UySPODXCyeAjvmg==; 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 1gWVYx-0007I0-0S; Tue, 11 Dec 2018 00:06:11 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWVYs-0007Gj-Tp for linux-arm-kernel@lists.infradead.org; Tue, 11 Dec 2018 00:06:08 +0000 Received: by mail-wr1-x441.google.com with SMTP id t27so12272409wra.6 for ; Mon, 10 Dec 2018 16:05:55 -0800 (PST) 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=04AGU6znUsheVb7NBNNw+8OY8y+ws90vlv4simqd50o=; b=m2mmxOr373f1C3JLr7q4q/fWwHU+3PrIpCii8+ul6q73be1LgrnunI9JY6VrlIxSdg e4iCIURwRVlRCpMBhVuosvO2GED6AKLyjNYvLV3+o7vvXRM1fNdwheYJNy5rn3H0lUsB R/FAL06JpzX/Ze8LQaIgjBwxf2Kv62tB3+2B1fuqXThBYwJkbasK8hy1C8oJxRQ6EtCO noCFPZKzVNbnMg1iz2kD0fR40JSDIbGGyLLy/vf3d/olO9BSUNh1rgibeKrCTwPuZpDq iXg55aBwwMHXuf2p8AbGWCfclp6rVzaZGlsxuZtVv8LCvkdXYSSgtAhMHainaFm5R6Fw wpmQ== 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=04AGU6znUsheVb7NBNNw+8OY8y+ws90vlv4simqd50o=; b=jZGhevqzjNFNdGRuASBB46fkoDbLuhG5uZuNL+xowyG4p3jtsxt8vbpoSSQdJSSuXV esE6poVcANF4eCOPJSS4IuYE+eKYzVKRZN16sfpDLnjEJQQlwlp4BLmlIeRLtsUp2eL5 LWewMElrvmHnWeyRvx98Di2X9EVF1gBeOCIX9AuoqWamHnowsbMv1pbaMpO9E6TjSpHm QZ8Ko1zmqBkDVtv5LcUZxhsX3gGQ9mX6ace3N1TmRjRp1emHt7QAelyqEC9EhYpzBPEG lH0hhyVs8dZydwOGtlBYKxlPZxuCAnelxj/iiRmP+i4/kh2gQ1hZpd4WfHhEvSe5Exy3 yXUw== X-Gm-Message-State: AA+aEWYM6BPET7hT9StpXXPxbi5YtSbCTDW4Mh1+tP6pGZO2dd5Gy7za n+Y9hrLWr+83Zj35A+HVt3g= X-Google-Smtp-Source: AFSGD/UlEqaqBcYEAQ8Nz24y+qVzbYcrgFeMHSnD72a1pyIsdEhZCUlUB0d9GCYvvQzR0ypkQyV2kw== X-Received: by 2002:adf:f350:: with SMTP id e16mr10978800wrp.125.1544486753443; Mon, 10 Dec 2018 16:05:53 -0800 (PST) Received: from localhost.localdomain ([2a01:4f8:10b:24a5::2]) by smtp.gmail.com with ESMTPSA id h16sm36448599wrb.62.2018.12.10.16.05.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 16:05:52 -0800 (PST) From: Nathan Chancellor To: Linus Walleij Subject: [PATCH] pinctrl: aspeed: Wrap -Woverride-init with cc-option Date: Mon, 10 Dec 2018 17:05:06 -0700 Message-Id: <20181211000506.7559-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_160606_985618_865F998C X-CRM114-Status: GOOD ( 12.06 ) 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: linux-aspeed@lists.ozlabs.org, Andrew Jeffery , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Joel Stanley , Nathan Chancellor , 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 does not support this option: warning: unknown warning option '-Woverride-init'; did you mean '-Woverride-module'? [-Wunknown-warning-option] 1 warning generated. Signed-off-by: Nathan Chancellor Acked-by: Andrew Jeffery Acked-by: Joel Stanley --- drivers/pinctrl/aspeed/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/aspeed/Makefile b/drivers/pinctrl/aspeed/Makefile index 191ed0fc1804..790b406aae19 100644 --- a/drivers/pinctrl/aspeed/Makefile +++ b/drivers/pinctrl/aspeed/Makefile @@ -1,6 +1,6 @@ # Aspeed pinctrl support -ccflags-y += -Woverride-init +ccflags-y += $(call cc-option,-Woverride-init) obj-$(CONFIG_PINCTRL_ASPEED) += pinctrl-aspeed.o obj-$(CONFIG_PINCTRL_ASPEED_G4) += pinctrl-aspeed-g4.o obj-$(CONFIG_PINCTRL_ASPEED_G5) += pinctrl-aspeed-g5.o