From patchwork Thu Oct 13 14:06:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 119534 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 9A080B6F7B for ; Fri, 14 Oct 2011 01:07:28 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755619Ab1JMOGw (ORCPT ); Thu, 13 Oct 2011 10:06:52 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:43215 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755596Ab1JMOGp (ORCPT ); Thu, 13 Oct 2011 10:06:45 -0400 Received: by mail-gy0-f174.google.com with SMTP id 13so37629gyb.19 for ; Thu, 13 Oct 2011 07:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:message-id; bh=7Hq7bU443MR+kuF915rboYiZeHI+6koWw5u3ShMWm38=; b=gmff85yAwQc28yfb1loOrhTJsmuoVXkYJa78pvQ1g7QVpzjKsdEG3rn3hZPzX6/7rR mU4Oo2s2svRIhrkzu7Zs3l9H40bfDwPWpc4fZIgwuhd96q9SoviMtxjBoq76OIR90PFT XjFd7XZ0dwpxpTg4dAH3NztoROvlDR07fNKoQ= Received: by 10.223.76.11 with SMTP id a11mr6422574fak.1.1318514805100; Thu, 13 Oct 2011 07:06:45 -0700 (PDT) Received: from linux-mhg7.site (89-74-122-41.dynamic.chello.pl. [89.74.122.41]) by mx.google.com with ESMTPS id v17sm10095378fai.18.2011.10.13.07.06.43 (version=SSLv3 cipher=OTHER); Thu, 13 Oct 2011 07:06:44 -0700 (PDT) From: Bartlomiej Zolnierkiewicz To: Jeff Garzik Subject: [PATCH] pata_rdc: add Power Management support Date: Thu, 13 Oct 2011 16:06:31 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.37.6-0.7-desktop-dirty; KDE/4.6.0; x86_64; ; ) Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-Id: <201110131606.31829.bzolnier@gmail.com> Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Bartlomiej Zolnierkiewicz Subject: [PATCH] pata_rdc: add Power Management support Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/pata_rdc.c | 4 ++++ 1 file changed, 4 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/drivers/ata/pata_rdc.c =================================================================== --- a/drivers/ata/pata_rdc.c +++ b/drivers/ata/pata_rdc.c @@ -357,6 +357,10 @@ static struct pci_driver rdc_pci_driver .id_table = rdc_pci_tbl, .probe = rdc_init_one, .remove = rdc_remove_one, +#ifdef CONFIG_PM + .suspend = ata_pci_device_suspend, + .resume = ata_pci_device_resume, +#endif };