diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2009-06-16 10:30:25 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-16 10:31:10 +0200 |
commit | d41dd122acf960db78c9ddc87684b43751dd36d9 (patch) | |
tree | 6005ea4914d1d2556b182ae86d82185d792b2f30 /drivers/s390/block/dasd_devmap.c | |
parent | ad285ae9fc6b9c0058f2a558b43fe8817685ebfa (diff) | |
download | blackbird-op-linux-d41dd122acf960db78c9ddc87684b43751dd36d9.tar.gz blackbird-op-linux-d41dd122acf960db78c9ddc87684b43751dd36d9.zip |
[S390] pm: dasd power management callbacks.
Introduce the power management callbacks to the dasd driver. On suspend
the dasd devices are stopped and removed from the focus of alias
management.
On resume they are reinitialized by rereading the device characteristics
and adding the device to the alias management.
In case the device has gone away during suspend it will caught in the
suspend state with stopped flag set to UNRESUMED. After it appears again
the restore function is called again.
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_devmap.c')
-rw-r--r-- | drivers/s390/block/dasd_devmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c index e77666c8e6c0..4cac5b54f26a 100644 --- a/drivers/s390/block/dasd_devmap.c +++ b/drivers/s390/block/dasd_devmap.c @@ -1098,6 +1098,7 @@ dasd_get_uid(struct ccw_device *cdev, struct dasd_uid *uid) spin_unlock(&dasd_devmap_lock); return 0; } +EXPORT_SYMBOL_GPL(dasd_get_uid); /* * Register the given device unique identifier into devmap struct. |