drivers_base: make argument to platform_device_register_full const
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 8 Dec 2011 21:53:29 +0000 (22:53 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Dec 2011 00:23:49 +0000 (16:23 -0800)
commit5a3072be6ce00b10565c78da05ad78df41310045
tree7e6fce9b3242704add3730f5d3a36e1b6318e57d
parent11e3123d9fdbe0aab1adf9ab5a5b1b28aa91daa7
drivers_base: make argument to platform_device_register_full const

platform_device_register_full doesn't modify *pdevinfo so it can be
marked as const without further adaptions.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c
include/linux/platform_device.h