drivers/base: Mark (of|platform)_device_id data as constant
There should be no reason to ever change the data pointed to by id_table
or of_compatible. So make this offical by adding some 'const's.

In Linux the corresponding pointers are marked as const, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f49f067 commit fd678c4973ceae400b13f6279a048ae7bc80baf7
@Uwe Kleine-König Uwe Kleine-König authored on 14 Apr 2015
Sascha Hauer committed on 17 Apr 2015
Showing 2 changed files
View
drivers/base/bus.c
View
include/driver.h