]> git.karo-electronics.de Git - karo-tx-linux.git/commit
of: add const to struct *of_device_id.data
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 7 Jun 2012 10:20:14 +0000 (12:20 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 24 Jul 2012 06:41:40 +0000 (08:41 +0200)
commit98d7bbb9929bcc14e11ac8a55245a4f2dc174e17
treebf71c92b45a687bd7eedf6e0821cca53f4a8d78b
parent107d5144cbfdffbe0e60c0c955a8521fa6779aa5
of: add const to struct *of_device_id.data

Drivers should never need to modify the data of a device id. So it can
be const which in turn allows more consts in the driver.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
include/linux/mod_devicetable.h