]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] convert to the new PM framework
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 17 Jun 2010 14:36:49 +0000 (10:36 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:07:49 +0000 (09:07 -0500)
commitdb5bd1e0b505c54ff492172ce4abc245cf6cd639
treeb0b4c42c45b52ce9f1f4727a144475071a3f0ac3
parentdf64d3caab8db6ae17dacd229a03d7689a10c432
[SCSI] convert to the new PM framework

This patch (as1397b) converts the SCSI midlayer to use the new PM
callbacks (struct dev_pm_ops).  A new source file, scsi_pm.c, is
created to hold the new callback routines, and the existing
suspend/resume code is moved there.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/Makefile
drivers/scsi/scsi_pm.c [new file with mode: 0644]
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_sysfs.c