The patch titled CONFIG_PM=n slim: drivers/scsi/sata_sil* has been added to the -mm tree. Its filename is config_pm=n-slim-drivers-scsi-sata_sil.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: CONFIG_PM=n slim: drivers/scsi/sata_sil* From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Remove some code which is unneeded if CONFIG_PM=n. Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Jeff Garzik <jeff@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/scsi/sata_sil.c | 6 ++++++ drivers/scsi/sata_sil24.c | 6 ++++++ 2 files changed, 12 insertions(+) diff -puN drivers/scsi/sata_sil.c~config_pm=n-slim-drivers-scsi-sata_sil drivers/scsi/sata_sil.c --- a/drivers/scsi/sata_sil.c~config_pm=n-slim-drivers-scsi-sata_sil +++ a/drivers/scsi/sata_sil.c @@ -109,7 +109,9 @@ enum { }; static int sil_init_one (struct pci_dev *pdev, const struct pci_device_id *ent); +#ifdef CONFIG_PM static int sil_pci_device_resume(struct pci_dev *pdev); +#endif static void sil_dev_config(struct ata_port *ap, struct ata_device *dev); static u32 sil_scr_read (struct ata_port *ap, unsigned int sc_reg); static void sil_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val); @@ -157,8 +159,10 @@ static struct pci_driver sil_pci_driver .id_table = sil_pci_tbl, .probe = sil_init_one, .remove = ata_pci_remove_one, +#ifdef CONFIG_PM .suspend = ata_pci_device_suspend, .resume = sil_pci_device_resume, +#endif }; static struct scsi_host_template sil_sht = { @@ -696,6 +700,7 @@ err_out: return rc; } +#ifdef CONFIG_PM static int sil_pci_device_resume(struct pci_dev *pdev) { struct ata_host_set *host_set = dev_get_drvdata(&pdev->dev); @@ -707,6 +712,7 @@ static int sil_pci_device_resume(struct return 0; } +#endif static int __init sil_init(void) { diff -puN drivers/scsi/sata_sil24.c~config_pm=n-slim-drivers-scsi-sata_sil drivers/scsi/sata_sil24.c --- a/drivers/scsi/sata_sil24.c~config_pm=n-slim-drivers-scsi-sata_sil +++ a/drivers/scsi/sata_sil24.c @@ -339,7 +339,9 @@ static int sil24_port_start(struct ata_p static void sil24_port_stop(struct ata_port *ap); static void sil24_host_stop(struct ata_host_set *host_set); static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); +#ifdef CONFIG_PM static int sil24_pci_device_resume(struct pci_dev *pdev); +#endif static const struct pci_device_id sil24_pci_tbl[] = { { 0x1095, 0x3124, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3124 }, @@ -355,8 +357,10 @@ static struct pci_driver sil24_pci_drive .id_table = sil24_pci_tbl, .probe = sil24_init_one, .remove = ata_pci_remove_one, /* safe? */ +#ifdef CONFIG_PM .suspend = ata_pci_device_suspend, .resume = sil24_pci_device_resume, +#endif }; static struct scsi_host_template sil24_sht = { @@ -1185,6 +1189,7 @@ static int sil24_init_one(struct pci_dev return rc; } +#ifdef CONFIG_PM static int sil24_pci_device_resume(struct pci_dev *pdev) { struct ata_host_set *host_set = dev_get_drvdata(&pdev->dev); @@ -1203,6 +1208,7 @@ static int sil24_pci_device_resume(struc return 0; } +#endif static int __init sil24_init(void) { _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are config_pm=n-slim-drivers-media-video.patch config_pm=n-slim-drivers-ieee1394-ohci1394c.patch config_pm=n-slim-drivers-scsi-sata_sil.patch config_pm=n-slim-drivers-pcmcia.patch config_pm=n-slim-drivers-serial-8250_pcic.patch megaraid-fix-warnings-when-config_proc_fs=n.patch git-xfs.patch sh-fix-fpn_start-typo.patch headers_check-improve-include-regexp.patch headers_check-clarify-error-message.patch task_struct-ifdef-missedem-v-ipc.patch ifdef-blktrace-debugging-fields.patch tty_ioc-keep-davej-sane.patch ifdef-quota_read-quota_write.patch reiserfs-ifdef-xattr_sem.patch reiserfs-ifdef-acl-stuff-from-inode.patch fsh-ifdef-security-fields.patch config_pm=n-slim-drivers-parport-parport_serialc.patch config_pm=n-slim-sound-oss-tridentc.patch config_pm=n-slim-sound-oss-cs46xxc.patch config_pm=n-slim-drivers-ide-pci-sc1200c.patch documentation-ioctl-messtxt-start-tree-wide-ioctl-registry.patch ioctl-messtxt-xfs-typos.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html