From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DA87C433E0 for ; Sat, 27 Feb 2021 08:09:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6684D64E46 for ; Sat, 27 Feb 2021 08:09:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbhB0IJI (ORCPT ); Sat, 27 Feb 2021 03:09:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbhB0IJG (ORCPT ); Sat, 27 Feb 2021 03:09:06 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B2A3C06174A; Sat, 27 Feb 2021 00:08:22 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id k12so4281983ljg.9; Sat, 27 Feb 2021 00:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ml3mDD0xY/VjmOnKUym0KmbG6rdyhQ3p6qFu1Ts6+ss=; b=kzVxjYPsxjFuHzRp7sCPtajEW8sPI6n46NLkyHoCEm6qA6lfO6w5Y+Ql7x/fcFZ5Vp A9E82/aQxKz+Na17wdrVxUo1+IGCU3AFe1npmcTa5/yxHq5acaqit8fq4MKh2rtonmJl NzBCF6lufw3SXvfHOefyaUCBpJcpbOIvhbnrpJwINPT3oBoZrKi2XnuAtFpeSSjf19cf OjDof4HC63HCXoqyVeuLOw507kGLKanCS5PzwPtilEvzWn08n3KvUSrMuRicMiL0unVl ihxhclsw7r/fM0o6O/JbYphB+VsOnv/95I66z8tFoVTHIoq4mBc//YfZpQSlZlLPO2U9 dW0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ml3mDD0xY/VjmOnKUym0KmbG6rdyhQ3p6qFu1Ts6+ss=; b=POOPlQrhQ3OSqFROKZxN2Yo5Bf03pcOpxT4jn4res09RvMgjyu4JwI5698DtSI6oWY bsHocbATHINYoz4edkiGagtt38IuJ6vEMVeraaeqXLh54vfHZuDLcD2FfZ76YpfQ6O5J q0SGd+oW56yXICafyf7kk2mEWrGMHuhOVtlCqFROhmnAHVTEW5m70LsY5bWVB6M/OdyC PmwVmghdfepg+6yP3/2FYCb+Kob4auG9xIzUN+oCGNzwkawOxSErzesDD6jh3XeLxEBL KXOVa/K7FkQwD9LDnRVqpoqfzvwJkUB7kyUkqo5PY5nyem0fTRtytn8c6UwiQcCn2lWD 8IqQ== X-Gm-Message-State: AOAM533DCaYcnnOTrLimZQduwpHok5ogoGtD4NXGUAskiag2MizkS2jV rQOHAF99DjV44tVkXYtRfsHBuTor+Pk= X-Google-Smtp-Source: ABdhPJzSWD9ri8pIU3PeN1AuuFpUfz2deqxrZ1wUhr+g4qJEQTcZa7SGuXcmTsUfK4gUmnI6z2hBQw== X-Received: by 2002:a2e:8157:: with SMTP id t23mr3780650ljg.214.1614413297661; Sat, 27 Feb 2021 00:08:17 -0800 (PST) Received: from [192.168.2.145] (109-252-193-52.dynamic.spd-mgts.ru. [109.252.193.52]) by smtp.googlemail.com with ESMTPSA id d1sm1626499lfq.156.2021.02.27.00.08.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Feb 2021 00:08:17 -0800 (PST) Subject: Re: [PATCH] rtc: tps65910: include linux/property.h To: Arnd Bergmann , Alessandro Zummo , Alexandre Belloni Cc: Arnd Bergmann , Bartosz Golaszewski , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210225134215.2263694-1-arnd@kernel.org> From: Dmitry Osipenko Message-ID: Date: Sat, 27 Feb 2021 11:08:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.2 MIME-Version: 1.0 In-Reply-To: <20210225134215.2263694-1-arnd@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org 25.02.2021 16:42, Arnd Bergmann пишет: > From: Arnd Bergmann > > The added device_property_present() call causes a build > failure in some configurations because of the missing header: > > drivers/rtc/rtc-tps65910.c:422:7: error: implicit declaration of function 'device_property_present' [-Werror,-Wimplicit-function-declaration] > > Fixes: 454ba154a62c ("rtc: tps65910: Support wakeup-source property") > Signed-off-by: Arnd Bergmann > --- > drivers/rtc/rtc-tps65910.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c > index 288abb1abdb8..bc89c62ccb9b 100644 > --- a/drivers/rtc/rtc-tps65910.c > +++ b/drivers/rtc/rtc-tps65910.c > @@ -18,6 +18,7 @@ > #include > #include > #include > +#include > #include > #include > #include > Reviewed-by: Dmitry Osipenko