From patchwork Thu Apr 6 19:41:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 80422 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1270664vqo; Thu, 6 Apr 2023 13:04:13 -0700 (PDT) X-Google-Smtp-Source: AKy350bsDZjNKxf5Ja/nNsP3JoT6nVAQ+EpJxPtLzPP3FnuqHf/Vd+iCKzSKOfH6nMRPllcJ1UK6 X-Received: by 2002:a17:902:e5c8:b0:1a5:898:37b0 with SMTP id u8-20020a170902e5c800b001a5089837b0mr518895plf.8.1680811453122; Thu, 06 Apr 2023 13:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680811453; cv=none; d=google.com; s=arc-20160816; b=t87y2iTMuegBJKTSsFBsgYBu51jpweX0OKdZm6Uv47HRyqwELmjDS3BvJRVh5ge53k nIhuY7TRpOO0yctfTjH3brlLGFiNhQwfD0e/AfJjrqBccGYt29Y5I6B4bZ3iKlysurhi QvzBz1qcNBYeL2iSFZOUwQlI8Vf0Yu8foSEu4bLtcOtj8EbpYjDy+LGUU91a+FsLWezL beJInCwkk3C1ylKkf9Eiuok6Klb5z6N9euo44bJFGjZw+kbUlDfjp8oQisFIWNuO2bJU TnE4lhHma4witbRRD8RVxcnWC8E7ks94e6L5K0umW7rEdviZ7srK5v3yU+yoeBkrhEeR 5SpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZTkIHTAaWcmCAdfh8LEoseDgXTgaeNEHoaGgbbSmg1w=; b=KYrd1WL5pWrHw9CdM6mOb91l2WRgQCfpvA65U69sbnUeF/HppGdTSTZvqoJeSIFiJS iRwVhFXlYuSOyj9BvOqvOXYw/eIMwjjbq6VMt/DWrqeq3deaLeNe0/KZFLUaEOd/Bpda mmMoMGcEe69nZB83asgSvPSPKqMmWu5MTNIkDTuWlhfQXNnPsSj72JAgEX3Jc669OwPY uAdD39pjrJKZLOMKp0M0V4/sPM0GgB87+wMCt6ALMxzioDpHDdkfTlioRGl7YdNxT7Fi AbPEyzarxR+Mnc2UM+8J95r4mi7JFygIklBAO+xtle625gojR6dWr8Wf913WZvA2EmVH hScg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UAWGR+qf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jf18-20020a170903269200b001994a4f9d34si2212502plb.145.2023.04.06.13.03.59; Thu, 06 Apr 2023 13:04:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UAWGR+qf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237423AbjDFTmR (ORCPT + 99 others); Thu, 6 Apr 2023 15:42:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237421AbjDFTmM (ORCPT ); Thu, 6 Apr 2023 15:42:12 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27CE9901C; Thu, 6 Apr 2023 12:42:11 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 55F0566031C6; Thu, 6 Apr 2023 20:42:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680810129; bh=DMsss3S5xTQ3vBQF9dvbUFqzefuTEWVYo2dfHUqUcKc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UAWGR+qfYF3RFkE7l9I5AyTdcp+XZdrxRpcRClsYpmjtG/M0fPkOAxxVOW3m4w9gQ 0oBYtas/BJ/orcf1IpVWdX1b5PQeF8kf5AtT7XFeB+gkF6O1Yt0GzPF7q1NTCuZ4jQ mOCcK4m25miwwjyaWUWFMPjbq7xjHLZ7AaBOUsL1h97Nj5xIm6P7AdSWpx+GZPzGdB ZgzF4MbwbvXZKL/LQ13bsLnvn4/QAzMFOMJgPjB3Tp9HYuZg4xzTLIHdi8wtFy1m0J Ern8oM11GmbZClgqK25glf5mSwIjUCwSOFj1EDMYjEhXkSeaazr1SBLVqJo//13w/Z 8R94scQLhtOVQ== From: Cristian Ciocaltea To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Bjorn Andersson , Joseph Chen , Ezequiel Garcia Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel@collabora.com Subject: [PATCH v3 2/8] regulator: fan53555: Explicitly include bits header Date: Thu, 6 Apr 2023 22:41:52 +0300 Message-Id: <20230406194158.963352-3-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230406194158.963352-1-cristian.ciocaltea@collabora.com> References: <20230406194158.963352-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762458550563784442?= X-GMAIL-MSGID: =?utf-8?q?1762458550563784442?= Since commit f2a9eb975ab2 ("regulator: fan53555: Add support for FAN53526") the driver makes use of the BIT() macro, but relies on the bits header being implicitly included. Explicitly pull the header in to avoid potential build failures in some configurations. While here, reorder include directives alphabetically. Fixes: f2a9eb975ab2 ("regulator: fan53555: Add support for FAN53526") Signed-off-by: Cristian Ciocaltea --- drivers/regulator/fan53555.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index d0c678767294..0754c370a21c 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c @@ -8,18 +8,19 @@ // Copyright (c) 2012 Marvell Technology Ltd. // Yunfan Zhang +#include +#include +#include #include +#include #include -#include #include +#include #include +#include #include #include -#include -#include #include -#include -#include /* Voltage setting */ #define FAN53555_VSEL0 0x00