]> Pileus Git - ~andy/linux/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, 11 Sep 2012 06:57:27 +0000 (08:57 +0200)
commitd7c9a53f13cf4b273b220934167c7630c3362563
tree2ed58ccf091c84a45831e6edf897fb6a7548212d
parent83a1ef2eb68cffda5940568b8c3f48daa5ab9d0c
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