Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2401534pxj; Mon, 17 May 2021 00:19:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLC+RpbEZst4uZvpc+11edGTjiIUbsex1GqVvU7UJUzDJrk6/skzBDkCa7JbW92GDa8Mn9 X-Received: by 2002:a6b:cd08:: with SMTP id d8mr44637289iog.86.1621235945740; Mon, 17 May 2021 00:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621235945; cv=none; d=google.com; s=arc-20160816; b=GnaYIGyb4jF6n6GXxuKyX8z3ar31AhNAuzz1IVe2FFeu+uqtjmtKlCB8Q0Nmlvx1RN rYOYR/nZUsJWc7NrbDKVX1h5KSs+zOOI41sJBCnfx9FBuNBjDYi/u80g6L1ats7z8fD2 TjIhyJ1ku44sFWZR3kZY2HGzGs190Eeh2FdLLrOl2e97J6ryxq9AwYRzyDvvHTd51bR9 7rs9HgH9qaEgpHMuPigz31kAUnzRo7gT2ZXD82ge/sC01PwpEU7wRqfm+uc6kuFho4+L SlvwiHasDjLN0IAeYjDKjg3I1IDyDcz+3AYIR4xP12joDb/8qRj19YdX0UR39LxN8m6h jDYw== 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 :message-id:date:subject:cc:to:from; bh=3BNDYjBr8TQhZV2K8W5aaykdaO6NNkv4NfI4070QVuY=; b=dhuwJRUDblW2D5OATOO3uaLywrqr1SLCDbNbYcuFp3RHiPBerMlutV+WFNrdzsN/pF Yck+F0qfWya5OpYpT2cWGIRX3zW/SmUKYcepNZipMdn3MD5jpC68PTQETezvG3yoJaIs /KvMEs0MPj9pXij6gH7i8UsiWY9ShD85GfKl1bHGou9vrysjStGBeWQuyebyMzupG6iw 6smQ0/nykohkg8C5Ks5KmMpjFTdI0q2R/822Ev43MSUT0pIWy6LH5H08u7nZxEr2GIbR Q77O+pJE4UZ+kzkgDjRmKuZu0goag22IIoMT/pq8EaEAYQEKDZW6a8XdbOfA8KKmf/Rf PcrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si16776250jas.111.2021.05.17.00.18.53; Mon, 17 May 2021 00:19:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233549AbhEQE6B (ORCPT + 99 others); Mon, 17 May 2021 00:58:01 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2983 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbhEQE6B (ORCPT ); Mon, 17 May 2021 00:58:01 -0400 Received: from dggems702-chm.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fk6G42c6czQpGp; Mon, 17 May 2021 12:53:16 +0800 (CST) Received: from dggpeml500017.china.huawei.com (7.185.36.243) by dggems702-chm.china.huawei.com (10.3.19.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 12:56:44 +0800 Received: from huawei.com (10.175.103.91) by dggpeml500017.china.huawei.com (7.185.36.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 12:56:43 +0800 From: Yang Yingliang To: , CC: , Subject: [PATCH -next] rtc: sysfs: Correct function name hctosys_show() Date: Mon, 17 May 2021 12:59:01 +0800 Message-ID: <20210517045901.3461800-1-yangyingliang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500017.china.huawei.com (7.185.36.243) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following make W=1 kernel build warning: drivers/rtc/sysfs.c:115: warning: expecting prototype for rtc_sysfs_show_hctosys(). Prototype was for hctosys_show() instead Signed-off-by: Yang Yingliang --- drivers/rtc/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/sysfs.c b/drivers/rtc/sysfs.c index 74026f67fdfb..00f1945bcb7e 100644 --- a/drivers/rtc/sysfs.c +++ b/drivers/rtc/sysfs.c @@ -102,7 +102,7 @@ max_user_freq_store(struct device *dev, struct device_attribute *attr, static DEVICE_ATTR_RW(max_user_freq); /** - * rtc_sysfs_show_hctosys - indicate if the given RTC set the system time + * hctosys_show - indicate if the given RTC set the system time * @dev: The device that the attribute belongs to. * @attr: The attribute being read. * @buf: The result buffer. -- 2.25.1