Driver core: make struct platform_driver.id_table const
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 26 Jan 2010 08:35:00 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Mar 2010 01:04:49 +0000 (17:04 -0800)
commit831fad2f75f0d7bfc339de81173e7068a3c72276
treebb566ec230d6bbc1c7ce942e8e1355c9876e24ea
parent52cf25d0ab7f78eeecc59ac652ed5090f69b619e
Driver core: make struct platform_driver.id_table const

This fixes a warning on several pxa based machines:

arch/arm/mach-pxa/ssp.c:475: warning: initialization discards qualifiers from pointer target type

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Vikram Dhillon <dhillonv10@gmail.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c
include/linux/platform_device.h