Driver Core: constify the name passed to platform_device_register_simple
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 11 Jan 2008 06:24:53 +0000 (17:24 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:43 +0000 (20:40 -0800)
commitae72cddb2338bc36b991674a56a7bf70ae104d9e
tree6054d3064d8d24f8919a9f226100a0b37862ece0
parent92b421416f8194aec87b1439487b5544e9ac8187
Driver Core: constify the name passed to platform_device_register_simple

This name is just passed to platform_device_alloc which has its parameter
declared const.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c
include/linux/platform_device.h