From nobody Tue Sep 9 18:09:53 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33E02C001DF for ; Wed, 26 Jul 2023 15:13:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234818AbjGZPNt (ORCPT ); Wed, 26 Jul 2023 11:13:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234892AbjGZPMg (ORCPT ); Wed, 26 Jul 2023 11:12:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB5712722 for ; Wed, 26 Jul 2023 08:11:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DEA5561B75 for ; Wed, 26 Jul 2023 15:11:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 808D4C433CB; Wed, 26 Jul 2023 15:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690384285; bh=bj1mr5kflt647mue4Mv7IoBZUc04fe5DGEibqyieb4A=; h=From:To:Cc:Subject:Date:From; b=HuYUFpuhD34XJ8sidC97NZLbJsh6MAP+XypkbjSB6LVD1rVMstnSGWdTIXP9TV+5s Z5WY8rIg8RJsEJt+5ft6ngmpAN1Z6texrn3N0C6MH/HabtQhnDQ23aTNDl0kXnCYMe lYOVH3x8Htxf2tBUbm0C2HWXCvHuLnZRiP8QNBF02gSxnbeJ3B2lEQUrauCHhHY5Vd ngbo+d67jBYjquGRwzFQHD5Cf/Ttlx/vuq2TbrWZKv9f9pmoeomFwLJm9Ru9+VDry1 riuS2jfcLmV4ZIX7LHaX8GIHewY53zYPgOo8w5BgfiiTf1rqikwpJg2q+FSiGnk3t2 DrXIJm4QhbfQw== From: Arnd Bergmann To: Damien Le Moal , Jeff Garzik , Alan Cox Cc: Arnd Bergmann , Sergey Shtylyov , Serge Semin , Bart Van Assche , linux-kernel@vger.kernel.org Subject: [PATCH] ata: pata_ns87415: mark ns87560_tf_read static Date: Wed, 26 Jul 2023 17:10:23 +0200 Message-Id: <20230726151119.2303954-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Arnd Bergmann The global function triggers a warning because of the missing prototype drivers/parport/parport_gsc.c: At top level: drivers/parport/parport_gsc.c:415:5: warning: no previous prototype for 'pa= rport_gsc_init' [-Wmissing-prototypes] There are no other references to this, so just make it static. Fixes: c4b5b7b6c4423 ("pata_ns87415: Initial cut at 87415/87560 IDE support= ") Signed-off-by: Arnd Bergmann Reviewed-by: Serge Semin Reviewed-by: Sergey Shtylyov --- drivers/ata/pata_ns87415.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/pata_ns87415.c b/drivers/ata/pata_ns87415.c index d60e1f69d7b02..c697219a61a2d 100644 --- a/drivers/ata/pata_ns87415.c +++ b/drivers/ata/pata_ns87415.c @@ -260,7 +260,7 @@ static u8 ns87560_check_status(struct ata_port *ap) * LOCKING: * Inherited from caller. */ -void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf) +static void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf) { struct ata_ioports *ioaddr =3D &ap->ioaddr; =20 --=20 2.39.2