From patchwork Wed Apr 5 19:47:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 79895 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp556674vqo; Wed, 5 Apr 2023 13:00:38 -0700 (PDT) X-Google-Smtp-Source: AKy350b99zSiWVoiX0n/CDQi3/7WtMu0eXnP78BuHgOeFzarZgNsLYdRQivELyjI8SyY7kb12PPT X-Received: by 2002:a17:90a:1911:b0:240:70dc:cf46 with SMTP id 17-20020a17090a191100b0024070dccf46mr8341041pjg.11.1680724838041; Wed, 05 Apr 2023 13:00:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680724838; cv=none; d=google.com; s=arc-20160816; b=RcEBCWMkaL4rIA1RgCkJjta7URqLBnaxmYtZkOCnoHV3/3hosE9LY20tssmaXeEs9x aKvMsBH4Ylq/aFkpiktfXzY6Ec4umW8x5T4p3RymyC/0vw4UaVm0yoahgU50c6SwVQoA qtpxYDCYbDmixaShcAvhuPK0+kZFqRgDv/+pIM6W0V5XURtoxcQ+B7ekZ9m16EGmgYRh yB7lSBkZtL97sc6I7VwCR67uTKMGBhYmis3NGE3URJ1ktjQp5grNCxCjk3ati/5C3Mll 2RPIsVkAMtWbwleYdHTeCr57wSCg+JovalCZvcNy8r/7K5wsaSCCahuUmtV87s6DNgqR GABQ== 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=C52VjquN2WeHFLbijixXXvdn3+sAs2kDDLEat+1uzigBi4BLtkiMAipKaeRCMty6Jq RsvnTOHeXEGIhyMZsRlgEqjpnA8jZLfnYcA4Pnk0nWlTi72/vKAG2Ie+Y6JTRaKW+Jq1 jj6kQoZJiaEorAHhlCcwCXYzPPu2fMf3BT1y046j8DC0PRF0t4ch/84wjlzH3dsDiKEt LB2Am4ia1lyuqeN5khYIfOdj47/Toh8YcKJLCUj5anvUCNftsjmeW8fj0+TlvQmnZ3wJ l9vM9VqrTQ8JTWY/XqMjg69HEutBJVK5ifowBzA/0BuuMhStO/pkoBed9aw3qcZ0XLHf O6xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BhdI9GvK; 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 c20-20020a6566d4000000b005139b6e0977si12698448pgw.555.2023.04.05.13.00.24; Wed, 05 Apr 2023 13:00:38 -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=BhdI9GvK; 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 S234012AbjDETsE (ORCPT + 99 others); Wed, 5 Apr 2023 15:48:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233612AbjDETsA (ORCPT ); Wed, 5 Apr 2023 15:48:00 -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 EC59F7684; Wed, 5 Apr 2023 12:47:53 -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 A1F72660319A; Wed, 5 Apr 2023 20:47:52 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680724072; bh=DMsss3S5xTQ3vBQF9dvbUFqzefuTEWVYo2dfHUqUcKc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BhdI9GvKF1tR9YsiQ78zOGCUmuzVrO+6ZU5PjS22PcJ6tifbGaFJaWAvTBYA8mmTL R02TqaFtoOxFRTRHoOC+moQt7c7eJ3Mg0mSw5dB97ALq5SJrXqtbgXqwf4Hqaq+sAu EZeHz1uMmydtWi52bjqoPDwKv8dF2fWvX2YwCjk1pLoFZsKUQFqdATeJ82IId4Yirg lKrszM/2u/2iX5ahgiLSNRZeM5z2O6sQxCZLdS0o428EVcuEu9KxkJ+O6i8hVz49W8 xho/+Qw7Z/p8nUjCidl/DE7hKGxsTIbeJhXrP4A4lPjjrwzSEsmSuDr5fiK020w0Nh rBKHwQBBBGp1g== 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 2/8] regulator: fan53555: Explicitly include bits header Date: Wed, 5 Apr 2023 22:47:15 +0300 Message-Id: <20230405194721.821536-3-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230405194721.821536-1-cristian.ciocaltea@collabora.com> References: <20230405194721.821536-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?1762367727781487177?= X-GMAIL-MSGID: =?utf-8?q?1762367727781487177?= 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