From nobody Sat Feb 7 19:45:42 2026 Received: from imap5.colo.codethink.co.uk (imap5.colo.codethink.co.uk [78.40.148.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 526773033D1 for ; Mon, 12 Jan 2026 15:49:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.40.148.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768232969; cv=none; b=lPZhC3drIyfO5bc7cYUL1DPYCmS07KjkIUuyD8QEFvHdZy6SbbrPQ7WRETQkUBf08MwdfFUCjnbklflxSWb1pe4e4uFoc7KYeQUfvOvSoshIrKn2+eSNXfRXMf9+ELov5jB94N2WReSS5yAT725awpwQEFXd5Co6p5+i0cLf+zo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768232969; c=relaxed/simple; bh=KACb96NhJdltShY7qHJBverU5YDCJ5euf4AEnjG2cvU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UWFXWf9fc+ccj8QINVGn3YJYwMUCqRNbnhrx21/1QuCd+CabiaKZKJxgE6pGxeaqes3L8Np4lBjAUEPHvFfH13AsOTqKlts3oRbXbSEiu5tiugbwlZP7SudXvxTMz7uwNrLT2nQCTVqssPCDITWTpRoTtMnOucrveFXYYBjr2G0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=codethink.co.uk; spf=pass smtp.mailfrom=codethink.com; dkim=pass (2048-bit key) header.d=codethink.co.uk header.i=@codethink.co.uk header.b=Hmlgmwj0; arc=none smtp.client-ip=78.40.148.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=codethink.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codethink.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codethink.co.uk header.i=@codethink.co.uk header.b="Hmlgmwj0" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codethink.co.uk; s=imap5-20230908; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:In-Reply-To: References; bh=Q5HFubY6ZPoCHTmdQJqyl1A3/0TmjYvFTurSkgDOeDE=; b=Hmlgmwj0crAPc9 Cnyw3TY7QexPwr16mYnC2qKMeFaNPwvFK0zrzl759hNu9dtHbATqP4n+Pgp6Lk0M6r/BMc3tuFCSw BUek9FDbZHNZyb7qIEFmbeC71BxPPGk3SFiwzdWe8cz0a30XrkX+x06JlvfPkz0e/Dhzy9ZS1FbYZ 2/UX//93m8EFzh2eSmDiwoRHGdq11h/UxK/0zVNu0y1MKYQs8pwAWJJItVpeBfPEsUQMMWt+2SsBl /Ra89qJjFhzjOdRAI9y/sBBZnaO5tMLf0aKqqPJ/EXJ7ASdUFhhMevUffSbi7cNzE4v7f4JdMI8iv chiHHHxzRlymKAW1fqaQ==; Received: from [167.98.27.226] (helo=rainbowdash) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1vfKAK-002jSC-4D; Mon, 12 Jan 2026 15:49:12 +0000 Received: from ben by rainbowdash with local (Exim 4.99.1) (envelope-from ) id 1vfKAJ-00000002Wbg-3S3f; Mon, 12 Jan 2026 15:49:11 +0000 From: Ben Dooks To: linux-kernel@vger.kernel.org Cc: lgirdwood@gmail.com, broonie@kernel.org, gregkh@linuxfoundation.org, Ben Dooks Subject: [PATCH] regulator: dummy, make dummy_regulator_driver static Date: Mon, 12 Jan 2026 15:49:09 +0000 Message-Id: <20260112154909.601987-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.37.2.352.g3c44437643 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: srv_ts003@codethink.com Content-Type: text/plain; charset="utf-8" When converting to faux_device the dummy_regulator_driver was made non-static however it isn't exported or defined anywhere outside the file it is in. Make it static to avoid the following sparse warning: drivers/regulator/dummy.c:59:24: warning: symbol 'dummy_regulator_driver' w= as not declared. Should it be static? Fixes: dcd2a9a5550ef556c8 ("regulator: dummy: convert to use the faux devi= ce interface") Signed-off-by: Ben Dooks --- drivers/regulator/dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c index e5197ec7234d..c3e416fd3c3e 100644 --- a/drivers/regulator/dummy.c +++ b/drivers/regulator/dummy.c @@ -56,7 +56,7 @@ static int dummy_regulator_probe(struct faux_device *fdev) return 0; } =20 -struct faux_device_ops dummy_regulator_driver =3D { +static struct faux_device_ops dummy_regulator_driver =3D { .probe =3D dummy_regulator_probe, }; =20 --=20 2.37.2.352.g3c44437643