Driver Core: Make PM operations a const pointer
commit8150f32b90f630ad3e460f026ce338cb81685bc9
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 25 Jul 2009 05:11:32 +0000 (24 22:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 25 Jul 2009 05:11:32 +0000 (24 22:11 -0700)
tree691fb27f26e783e39f01d2effb9e35f7f461964f
parent11a79260916b00bcfe1bcfbd7a994321ee25b880
Driver Core: Make PM operations a const pointer

They are not supposed to be modified by drivers, so make them const.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/platform.c
drivers/base/power/main.c
drivers/pci/pci-driver.c
include/linux/device.h