[PATCH v2] pinctrl: make of_device_ids const

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Apr 9 04:00:34 PDT 2015


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
> <u.kleine-koenig at pengutronix.de> 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. This allows to
> > mark all struct of_device_id below drivers/pinctrl const, too.
> >
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> 
> 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/  |



More information about the linux-arm-kernel mailing list