]> err.no Git - linux-2.6/commit
[SCSI] megaraid_sas: fix suspend/resume sections
authorJiri Slaby <jirislaby@gmail.com>
Thu, 1 May 2008 15:56:02 +0000 (17:56 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 2 May 2008 18:07:56 +0000 (13:07 -0500)
commit33139b21013aba815924b421159fab35e5175483
tree811badce2706e6be25ba15f2467acb6db3552eca
parent655d722cf7812078306f975a3afe88b96a1306b8
[SCSI] megaraid_sas: fix suspend/resume sections

megaraid_sas suspend and resume are inappropriatelly placed in
__devinit section. Remove those placements and make the stuff
dependent on CONFIG_PM.

While at it, mark remove function as __devexit.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: "Yang, Bo" <Bo.Yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/megaraid/megaraid_sas.c