From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: make of_device_ids const
Date: Wed, 18 Feb 2015 21:37:48 +0100 [thread overview]
Message-ID: <6700107.3fSsY2uIcW@wuerfel> (raw)
In-Reply-To: <1424290796-18475-1-git-send-email-u.kleine-koenig@pengutronix.de>
On Wednesday 18 February 2015 21:19:56 Uwe Kleine-K?nig wrote:
> of_device_ids (i.e. compatible strings and the respective data) are not
> supposed to change at runtime. All functions working with of_device_ids
> provided by <linux/of.h> work with const of_device_ids. So mark the
> non-const structs in arch/arm as const, too.
>
> While at it also add some __initconst annotations.
>
> Acked-by: Jason Cooper <jason@lakedameon.net>
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
Applied to fixes branch, thanks!
Arnd
next prev parent reply other threads:[~2015-02-18 20:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 20:19 [PATCH] ARM: make of_device_ids const Uwe Kleine-König
2015-02-18 20:37 ` Arnd Bergmann [this message]
2015-02-19 5:14 ` sanjeev sharma
2015-02-19 8:07 ` Arnd Bergmann
[not found] ` <CAGUYZuSQuDcGxcG8JQ8kP34_U=ReQ-cYSPimQHNxMiaCNZzEZA@mail.gmail.com>
2015-02-20 8:38 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6700107.3fSsY2uIcW@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox