Thread (3 messages) 3 messages, 2 authors, 2015-04-09

[PATCH v2] pinctrl: make of_device_ids const

From: Uwe Kleine-König <hidden>
Date: 2015-04-09 11:00:41
Also in: linux-gpio

On Tue, Apr 07, 2015 at 11:09:57AM +0200, Linus Walleij wrote:
On Thu, Mar 26, 2015 at 11:00 PM, Uwe Kleine-K?nig
[off-list ref] wrote:
quoted
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. This allows to
mark all struct of_device_id below drivers/pinctrl const, too.

Signed-off-by: Uwe Kleine-K?nig <redacted>
I already have a patch like this from Fabian Frederick in my
devel branch.
I applied my patch to today's next. The diffstat looks similar to the
original submission. Also

	git log linus/master..next/master --author=Fabian drivers/pinctrl

is empty?!

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help