From patchwork Sat Nov 7 23:36:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rikard Falkeborn X-Patchwork-Id: 11889345 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=-6.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 DF4C0C388F7 for ; Sat, 7 Nov 2020 23:37:31 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 62E4A208E4 for ; Sat, 7 Nov 2020 23:37:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="railRA+3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="poX5pAv3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62E4A208E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+vOebckSf2aVLVsGt7VikFhEREzraZcu2CjtGvkMoe0=; b=railRA+3kv79WtKJm9T+mTtQjf uYeWmeg5glJDA4a1emCdpGX/S0FC02FKnywbEDRx0qYUI6AH3H5Cw95DkxtIWZ/DAMY7zVaZcpoSm CFpKgimKV3NhohJYxq6xYpbKkH9WnsUCdzBB6foXEzYOFMHEMvMCFFLtgQKdz0+oaq/0lw/iHVHMQ SiNqSDnkvz3uY1n+dFI8BeaFF4yl+/MYGzI5yKqj4i7W3l3jI4N5fVlab/LH+PVQneOqcMw9FNd3r HXUORFdI25zWIpgj6baqLmrWV9Ggbbt7iKuK08pn0zhLoJSWQbl2BHMS/68q8C067oQyylPuua0Hh 29hWtJSA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbXlI-0001QQ-Bl; Sat, 07 Nov 2020 23:36:48 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbXlB-0001Oa-Lg for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2020 23:36:42 +0000 Received: by mail-lj1-x243.google.com with SMTP id q19so3858506ljc.10 for ; Sat, 07 Nov 2020 15:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BAsmVBERLtIkPKSJ/BkTRWhkFllTaoPPg4wptJs5664=; b=poX5pAv3AOQHHZmM+Gav0NU4a+LwsQfDRy0vVeqVkcgYU0LOj8Jy5tEM6jWyB7Ol3Q s0AV8D6db2DKMZ+L9Wex3RJgUcs7Qtt++/7/nOh1NtcOpK0spqD9kCfFJgbOOohTOO/L VtSMx6f/QI8q8IWON+suc6oMDzKIpY74xo7ps0D1+YfQji8jFI3K3lVK9CZATnAvkiUh jAYM7mDR7wqa58MQRy5h2sXqWZaiD59Z+WY/juDjqsBO7H9uxxQpW/JFqlPYzJK/Motk 58tZKjHMmR9ry2ip4XY6pLJZGN3eP9/H1baA6VZCodqcTY/WHCiLRcN6YoRF3j6RZNiI VCYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BAsmVBERLtIkPKSJ/BkTRWhkFllTaoPPg4wptJs5664=; b=L6btMh8xGWvI2/g4w7cgeE2PYZB3HRn903KknaKXzm3nhteoz4ABy5HT0j5S50Fd2A z4X+iBbidOHXGMvaUXjlxf312Tag1XAFi3hTOFEpCmlUrqy9iOpBlYmaw/UzwR3H7jOB E8CeCgC/1eqYb/j5WYWtwTXbQmZ8KM+7zPD0jnOcZytmHuUITAslP9HIYbHGs/SmFf/p uk3B6YjRW8tbZGec9xCsA4hDl95ReK9Wj9iNim3yIjFnIDljw0U0hzjMcNbmEAXJCik/ QmTjb3YI07w1bnTsY2B1bYY0jCdCnP4bRfbNiauF2+XRHembvU0B8RdGgICa2wVyVSY1 DxfA== X-Gm-Message-State: AOAM532Rre0K8nJQTW4CEeaqWtJOMRDCk4a5eCWXAalqrR4vrXn/t/6V lsLsMcGDNtYFfFZhZiiNvsdEJsoA6crNhw== X-Google-Smtp-Source: ABdhPJxSOMHDT1FfYuwhl+GENcESSIMAcfVtTuE8fwfTk0I7FTy+FSLRnnTDASsRo8ReOLKPlxJf9w== X-Received: by 2002:a2e:9449:: with SMTP id o9mr3023985ljh.457.1604792196622; Sat, 07 Nov 2020 15:36:36 -0800 (PST) Received: from localhost.localdomain (h-155-4-221-112.NA.cust.bahnhof.se. [155.4.221.112]) by smtp.gmail.com with ESMTPSA id j23sm782772lfm.16.2020.11.07.15.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 15:36:35 -0800 (PST) From: Rikard Falkeborn To: Ohad Ben-Cohen , Bjorn Andersson Subject: [PATCH 0/2] remoteproc: Constify static struct rproc_ops Date: Sun, 8 Nov 2020 00:36:28 +0100 Message-Id: <20201107233630.9728-1-rikard.falkeborn@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201107_183641_757457_A11F1EAF X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Rikard Falkeborn , Paul Cercueil , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Constify two static struct rproc_ops which are never modified. These two changes makes all static instances of rproc_ops in the kernel const. Rikard Falkeborn (2): remoteproc: ingenic: Constify ingenic_rproc_ops remoteproc: stm32: Constify st_rproc_ops drivers/remoteproc/ingenic_rproc.c | 2 +- drivers/remoteproc/stm32_rproc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)