driver core: Const-correct platform getbyname functions
authorLinus Walleij <linus.ml.walleij@gmail.com>
Mon, 27 Apr 2009 00:38:16 +0000 (02:38 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:30:24 +0000 (21:30 -0700)
commitc0afe7ba5e71d8ab66bc42f90b3e237581d3c509
treea4fb6323ac6e21df4ea1264bee306c073479648f
parent309b7d60a345f402bec3cf9caadb53de4028e2aa
driver core: Const-correct platform getbyname functions

This converts resource and IRQ getbyname functions for the platform
bus to use const char *, I ran into compiler moanings when I tried
using a const char * for looking up a certain resource.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c
include/linux/platform_device.h