From patchwork Tue Mar 1 12:34:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12764701 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35A81C433F5 for ; Tue, 1 Mar 2022 12:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=df61lkmI/s+ciWE/TPKiC/0AUhkuJh2/Ngnd/ejgSfk=; b=xpdnE2OV6FuAPt Ys4d2mZpmsMYhA1rR41JWo/Eofie5PVss0T1e4/96NNuGp922oNInjo/Zl7YVCcHkIkjOUWk+0KC9 ja+ITh+Dl/Asg6NEks6NEchtwt2zRfqB8QRvZW2rAJi6lNY8s5WUHORpZbhatGpuRl+UwPq0LjQEQ XQNww/pGqb4YE0b+QiwHbeZAVYG/vwtEMXPek8sSJKjIWW4KDVwDR+oabGdF33u6n2zUfEYXzWfjD s2YZ0o3Xc4SMiZck7kXo3Hwn2fQqbQ7uTs7tjqmrlSo19//sfNOdW6f2H3nrsBm/9BB5xRYV+K8pE LZ/SJ3N3erNyRZt2zn6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nP1iy-00GZK8-6p; Tue, 01 Mar 2022 12:35:28 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nP1hY-00GYhp-Mu for linux-arm-kernel@lists.infradead.org; Tue, 01 Mar 2022 12:34:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646138040; x=1677674040; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YvuB2Ay0dLnc800oXNRcutbEZNg7vLBu/3a/pjG1aOE=; b=izTfY8YgQUGuzaw636wp/15i7p/ByI4S1ca1YF5Vxib+4DoN91YVRott baF10rvuwkI17htv4v9Dl587QqO31Rr5Lieb2HJ29eSNGTdM5TXvOG+jK fljMcvebFc7bp9rR3ZQNLgCDIMwgSycPAkmqQtcYb+fl40jqVqfh4MfNT cEVLLpfvpsN95Il1v6CpelBgtrbqaun8USibUpt0VM8tSGaHG8h10kYjA Pb4FCKaUdXT8C4hRELIcPzUeRIuut5oolgMggem9ay4yEexgzErKlkSDF 7waUj4n/k3iq0trhfU5XqRCS7w4h99BTwODA5u3+tgEoOO6PhMgSKdWfi g==; X-IronPort-AV: E=Sophos;i="5.90,146,1643698800"; d="scan'208";a="155253494" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Mar 2022 05:34:00 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 1 Mar 2022 05:33:59 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 1 Mar 2022 05:33:58 -0700 From: Claudiu Beznea To: , CC: , , Claudiu Beznea Subject: [PATCH 7/7] clocksource/drivers/timer-microchip-pit64b: fix compilation warnings Date: Tue, 1 Mar 2022 14:34:49 +0200 Message-ID: <20220301123449.2816625-8-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220301123449.2816625-1-claudiu.beznea@microchip.com> References: <20220301123449.2816625-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220301_043400_793072_AFFB0995 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix the following compilation warnings: timer-microchip-pit64b.c:68: warning: cannot understand function prototype: 'struct mchp_pit64b_clkevt ' timer-microchip-pit64b.c:82: warning: cannot understand function prototype: 'struct mchp_pit64b_clksrc ' timer-microchip-pit64b.c:283: warning: Function parameter or member 'timer' not described in 'mchp_pit64b_init_mode' timer-microchip-pit64b.c:283: warning: Function parameter or member 'max_rate' not described in 'mchp_pit64b_init_mode' Signed-off-by: Claudiu Beznea --- drivers/clocksource/timer-microchip-pit64b.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clocksource/timer-microchip-pit64b.c b/drivers/clocksource/timer-microchip-pit64b.c index f50705698283..5ce206723700 100644 --- a/drivers/clocksource/timer-microchip-pit64b.c +++ b/drivers/clocksource/timer-microchip-pit64b.c @@ -46,7 +46,7 @@ #define MCHP_PIT64B_NAME "pit64b" -/** +/* * struct mchp_pit64b_timer - PIT64B timer data structure * @base: base address of PIT64B hardware block * @pclk: PIT64B's peripheral clock @@ -60,7 +60,7 @@ struct mchp_pit64b_timer { u32 mode; }; -/** +/* * mchp_pit64b_clkevt - PIT64B clockevent data structure * @timer: PIT64B timer * @clkevt: clockevent @@ -74,7 +74,7 @@ struct mchp_pit64b_clkevt { ((struct mchp_pit64b_timer *)container_of(x,\ struct mchp_pit64b_clkevt, clkevt)) -/** +/* * mchp_pit64b_clksrc - PIT64B clocksource data structure * @timer: PIT64B timer * @clksrc: clocksource @@ -244,7 +244,7 @@ static void __init mchp_pit64b_pres_compute(u32 *pres, u32 clk_rate, *pres = MCHP_PIT64B_PRES_MAX - 1; } -/** +/* * mchp_pit64b_init_mode - prepare PIT64B mode register value to be used at * runtime; this includes prescaler and SGCLK bit *