Message ID | 1416874644-12070-3-git-send-email-abrestic@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8EA49C11AC for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 25 Nov 2014 00:21:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFDF72015A for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 25 Nov 2014 00:21:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E354F2015D for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 25 Nov 2014 00:21:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xt3q4-00067m-Og; Tue, 25 Nov 2014 00:18:40 +0000 Received: from mail-ie0-f201.google.com ([209.85.223.201]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xt3pI-0005mG-8w for linux-arm-kernel@lists.infradead.org; Tue, 25 Nov 2014 00:17:53 +0000 Received: by mail-ie0-f201.google.com with SMTP id rp18so1258336iec.4 for <linux-arm-kernel@lists.infradead.org>; Mon, 24 Nov 2014 16:17:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ITgg1sDp3vS5isDdnUw6lLiv8WufKdi7+7vxrgJGoVY=; b=eAVWf6lErsbKAXz0I/C5Bag7asrPyOyOKBqJ2nF3sERBFwJqyzy41BlFDN953YaWWG PgREL53NnJSnfNZV1+FPkhBgfNU0q2hN+0vE+dpOWw5F8Dd6sgWYGBmbCX0DH/a13DFn 6WZ3yD9rGrH02n6pGPCTUCEQ0t6EI9yzTvYfig6rgCp5YTRWt7kG+k0KBLwbCE03TElO d4M+h/s3Yfe5Zh2SHMQrcy9fRGE+Hu8I9Ib2WHH3QbOV9+7z+gD+Rvg0uyJbi0VT9l84 g8h5WWDWrgs0OoHq+OrH4kJfMWo9sfRlKMxlfTvO5qHXcE90an5Hnai9Hp1qzR7W1ZoE Bjkg== X-Gm-Message-State: ALoCoQkZhbT88rOPrwRuENgMA/yXraStLY0oe9tqy46yS0bNT3UhtaKadjzk+0ObnIfK6zohlqy5 X-Received: by 10.182.240.226 with SMTP id wd2mr21660253obc.6.1416874651000; Mon, 24 Nov 2014 16:17:31 -0800 (PST) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id e24si513502yhe.3.2014.11.24.16.17.29 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Nov 2014 16:17:30 -0800 (PST) Received: from abrestic.mtv.corp.google.com ([172.22.65.70]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id EtNdVpkQ.1; Mon, 24 Nov 2014 16:17:30 -0800 Received: by abrestic.mtv.corp.google.com (Postfix, from userid 137652) id E3E432213BF; Mon, 24 Nov 2014 16:17:28 -0800 (PST) From: Andrew Bresticker <abrestic@chromium.org> To: Stephen Warren <swarren@wwwdotorg.org>, Thierry Reding <thierry.reding@gmail.com>, Alexandre Courbot <gnurou@gmail.com>, linux-tegra@vger.kernel.org Subject: [PATCH V6 02/12] mailbox: Make struct mbox_controller's ops field const Date: Mon, 24 Nov 2014 16:17:14 -0800 Message-Id: <1416874644-12070-3-git-send-email-abrestic@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1416874644-12070-1-git-send-email-abrestic@chromium.org> References: <1416874644-12070-1-git-send-email-abrestic@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141124_161752_368984_07E855C8 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -0.7 (/) Cc: Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Mathias Nyman <mathias.nyman@intel.com>, Pawel Moll <pawel.moll@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Andrew Bresticker <abrestic@chromium.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Linus Walleij <linus.walleij@linaro.org>, Jassi Brar <jassisinghbrar@gmail.com>, linux-kernel@vger.kernel.org, Felipe Balbi <balbi@ti.com>, Kishon Vijay Abraham I <kishon@ti.com>, Olof Johansson <olof@lixom.net>, Rob Herring <robh+dt@kernel.org>, Alan Stern <stern@rowland.harvard.edu>, linux-arm-kernel@lists.infradead.org, Kumar Gala <galak@codeaurora.org>, Grant Likely <grant.likely@linaro.org>, Arnd Bergmann <arnd@arndb.de> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/linux/mailbox_controller.h b/include/linux/mailbox_controller.h index d4cf96f..68c4245 100644 --- a/include/linux/mailbox_controller.h +++ b/include/linux/mailbox_controller.h @@ -72,7 +72,7 @@ struct mbox_chan_ops { */ struct mbox_controller { struct device *dev; - struct mbox_chan_ops *ops; + const struct mbox_chan_ops *ops; struct mbox_chan *chans; int num_chans; bool txdone_irq;
The mailbox controller's channel ops ought to be read-only. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> --- No changes from v5. New for v5. --- include/linux/mailbox_controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)