Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4824790pja; Fri, 22 Nov 2019 02:28:26 -0800 (PST) X-Google-Smtp-Source: APXvYqz44w3SsYAtTWflfSxJsdqVMbJomirqDJgNQncmqJYz+Ceb2ID0ci9YeNbwmZPhj1IMmZIZ X-Received: by 2002:a50:8851:: with SMTP id c17mr161473edc.60.1574418506051; Fri, 22 Nov 2019 02:28:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574418506; cv=none; d=google.com; s=arc-20160816; b=jjiVxgBPsdDNWch8jPNRZciA1kcfXtk+EOXyYHfjSRljdgKpr7KE1PxNRmoYyzTf+/ LYR8QtcgoQdAcMS/CCdEJuqqbD3+3GST6vJ3ILLRRL3UJ7znvSCOk/1ABPGJpLKYV47F vg6itpNqyGDKy4naVR9J89ZonFn+tTtyOJV8gXBQZneOunzUK7pZz+gj4zeUsC36yzI3 oeVgEeE5mKwPkA6RgjU9lkuaTz3EaP6vQ3+1cevJSt1yO/uGKb+40PjLPSC5B/cJNbtM /wFpTAhmessApfzVu12wsjpKaP1AzT/rAVw1ToZRJ4/xGEFS1tz7KTB40BqBwyWRJNah /rgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+QNv+fUkuQLJ6iYBMmh2jolutJf2Yfz9EeRe/XPC2xM=; b=fw7FMBm1yCetfbZMxCzfogcNkOHPAHif94oh1yktYdHShqpPrqiqg8SQtOTlfpwt54 rtZJ1IhuTAzg8sJvNo7DsQBSew2xvFU50raRK+HK7dC/FtTzgNRVxYscKTRfGAlrAXM8 dWE1bZDGkg95+xPugU+0BLBz8YUdZQHPosscCyWyWBU7OtD7LqzTBV5+fahUl6oU2GDM TyeQ94h03vmIEKva0Ty6kZwZd2UamQbPRSTlMyQaBKvIEmaGxCpwKnUV70LmkC0BY3Dm bUBreHiorQcHZlCD+anfqhzo/ZtcZ7cdiF670IqNy7y3MGe89EwgVKhqGATFAO5L0Qxf rHww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c29si4879577ede.50.2019.11.22.02.27.59; Fri, 22 Nov 2019 02:28:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726920AbfKVKX4 (ORCPT + 99 others); Fri, 22 Nov 2019 05:23:56 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:48275 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbfKVKX4 (ORCPT ); Fri, 22 Nov 2019 05:23:56 -0500 X-Originating-IP: 92.184.97.94 Received: from localhost (unknown [92.184.97.94]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 63B1AFF811; Fri, 22 Nov 2019 10:23:44 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Alexandre Belloni , Joshua Kinard Subject: [PATCH 4/8] rtc: ds1685: fix build error with make W=1 Date: Fri, 22 Nov 2019 11:22:08 +0100 Message-Id: <20191122102212.400158-5-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191122102212.400158-1-alexandre.belloni@bootlin.com> References: <20191122102212.400158-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following parsing errors when building with W=1: drivers/rtc/rtc-ds1685.c:1053: error: Cannot parse struct or union! drivers/rtc/rtc-ds1685.c:1062: error: Cannot parse struct or union! drivers/rtc/rtc-ds1685.c:1363: warning: cannot understand function prototype: 'struct platform_driver ds1685_rtc_driver = ' Cc: Joshua Kinard Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1685.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c index 8419595e7da7..56c670af2e50 100644 --- a/drivers/rtc/rtc-ds1685.c +++ b/drivers/rtc/rtc-ds1685.c @@ -1039,7 +1039,7 @@ ds1685_rtc_sysfs_serial_show(struct device *dev, } static DEVICE_ATTR(serial, S_IRUGO, ds1685_rtc_sysfs_serial_show, NULL); -/** +/* * struct ds1685_rtc_sysfs_misc_attrs - list for misc RTC features. */ static struct attribute* @@ -1050,7 +1050,7 @@ ds1685_rtc_sysfs_misc_attrs[] = { NULL, }; -/** +/* * struct ds1685_rtc_sysfs_misc_grp - attr group for misc RTC features. */ static const struct attribute_group @@ -1355,7 +1355,7 @@ ds1685_rtc_remove(struct platform_device *pdev) return 0; } -/** +/* * ds1685_rtc_driver - rtc driver properties. */ static struct platform_driver ds1685_rtc_driver = { -- 2.23.0