platform: Make platform resource input parameters const
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 28 Jan 2009 20:01:02 +0000 (21:01 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 17 May 2010 19:37:40 +0000 (21:37 +0200)
commit0b7f1a7efb38b551f5948a13d0b36e876ba536db
treea1982c30350b7be11b4db66e7c2bcd4983ed1998
parentadbf6e6952e80ae42a403442dcae21438cae94b3
platform: Make platform resource input parameters const

Make the platform resource input parameters of platform_device_add_resources()
and platform_device_register_simple() const, as the resources are copied and
never modified.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c
include/linux/platform_device.h