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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B561C433EF for ; Wed, 3 Nov 2021 14:20:11 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37C7F6103C for ; Wed, 3 Nov 2021 14:20:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 37C7F6103C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2669583538; Wed, 3 Nov 2021 15:20:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.b="f5Ufftte"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2C4818039D; Wed, 3 Nov 2021 15:20:05 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E389E83538 for ; Wed, 3 Nov 2021 15:20:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heinrich.schuchardt@canonical.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 99E0A3F1BC for ; Wed, 3 Nov 2021 14:19:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1635949198; bh=m1XoewAPujY0WHgZOxeOEHb3+9pqKvAEWQGK0UsRJzE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=f5UfftteV1NaX0FnB8xuZrvLRvTcZkGC6t38zC9DeGIojfPGukURIsrsxWGw+s4B8 5uVhpIJNDjFJaMZu0/D684XqjCJa5YA+peGr51TJAYMrvrdCFBaXLdaxyH2/P0R3cV uwLFJ7sCJ4008BOzZFOZg0vCHmXj8Bq+/SeDgQ07aEIvGYu+n6ieKC292wvxhf2/jV ffAOAUd3+EChsW0q0yNqjjiD0KA2fDR6rdFibVHGmqQsQzy1zIsYu4dJbhyswdHI0i uIaT1E0P5rMETZBsBTt3ye1aZ92sCSemGMgCfi6HWOKL5fAPVscSe9bavQM8yL76Wg 1VJRXxTl11ibw== Received: by mail-wm1-f70.google.com with SMTP id v5-20020a1cac05000000b0032ccf04ba2cso2827093wme.2 for ; Wed, 03 Nov 2021 07:19:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=m1XoewAPujY0WHgZOxeOEHb3+9pqKvAEWQGK0UsRJzE=; b=FIIPeDkEhlDfBwveCC6DT6/HHge9aBCEXgTzhXdOXzZOZqYQDun3XLw6l1n97x+Dz1 U93bfPEz5DvEFTAE3Sf/BDDNuiz6A22gczaJUqXYKZVHNritghIk76utkyMPxxbsVia2 0k89w2H7BaELsNlKZveKBtSopxpAr/P0JTnEpj9ilZAe8gVRGBWsbpFWUjaXgFYzK5N6 GPITYYC54IYjJROFVH+cBEiMrD4H2gtWJOygnOZKj4PfW53FnSmLaztZoiKPek9yVAM3 X+h4la7mHp3P/liM2TYwtjDatPN6j/FLQEDT7ovei/BsRa4bVR6j/P6IAn1eO6JnBWFT qOjA== X-Gm-Message-State: AOAM530AF/A2484EZKy8/Q9oCtIlZfKzDkVmqNfyqK2n2++gZj/TU98+ I81bo+oJcmVJ5h4lawy1t9KFfTMiB8gd58tEWjKOuH7lf5F8vjy0DkcZJvqVOrrESm0+eW8ZDNa l+ivr1O4brKTpB5t01+WVfnvazEBPb+I= X-Received: by 2002:a5d:588b:: with SMTP id n11mr2178042wrf.344.1635949198362; Wed, 03 Nov 2021 07:19:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLLqzcBKpG8n9/YVRPyABK5VZz68yuHkGh8fda9yMYgz7ojT63zX2uOY+DzIkT0mfcGvkkvQ== X-Received: by 2002:a5d:588b:: with SMTP id n11mr2178016wrf.344.1635949198190; Wed, 03 Nov 2021 07:19:58 -0700 (PDT) Received: from [192.168.123.55] (ip-88-152-144-157.hsi03.unitymediagroup.de. [88.152.144.157]) by smtp.gmail.com with ESMTPSA id k15sm2076030wrx.53.2021.11.03.07.19.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Nov 2021 07:19:57 -0700 (PDT) Message-ID: Date: Wed, 3 Nov 2021 15:19:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: [PATCH v2 2/6] sysreset: Mark driver probe functions as static Content-Language: en-US To: Samuel Holland , Stefan Roese , u-boot@lists.denx.de, Jagan Teki , Andre Przywara Cc: Bin Meng , Sean Anderson , Simon Glass References: <20211029031656.24167-1-samuel@sholland.org> <20211029031656.24167-3-samuel@sholland.org> From: Heinrich Schuchardt In-Reply-To: <20211029031656.24167-3-samuel@sholland.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 10/29/21 05:16, Samuel Holland wrote: > These driver probe functions are not (and should not be) called from > outside the respective driver source files. Therefore, the functions > should be marked static. > > Signed-off-by: Samuel Holland Reviewed-by: Heinrich Schuchardt > --- > > Changes in v2: > - Also make gpio_reboot_probe function static.