From patchwork Tue Feb 8 12:25:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 82314 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 B4FAEB70DE for ; Tue, 8 Feb 2011 23:27:15 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754076Ab1BHMZX (ORCPT ); Tue, 8 Feb 2011 07:25:23 -0500 Received: from mail-ey0-f174.google.com ([209.85.215.174]:48060 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754115Ab1BHMZW (ORCPT ); Tue, 8 Feb 2011 07:25:22 -0500 Received: by mail-ey0-f174.google.com with SMTP id 27so2880337eye.19 for ; Tue, 08 Feb 2011 04:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:date:message-id:in-reply-to :references:subject; bh=duF2RBd6EJARo16EH0uFQeayCAhXHnsdTnTX6d3bkGE=; b=MEZt+IND1Mr4Sq7gbtv/eadKhqGBIv+Y/c2uEXKC6EH73+Uh4ysETb/5qPOnIRE/gW WADQKmHxy+2GM6ZxzKZPZSC1warlaW8JWN8H6xYp3vQRjHGdRalgUpNZfuGk1HmUEZJF 2W82Y/4FfGPCS5NigNfUYMytMlgyGT71jGwUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=S/DKvQlBmOj2Ltmuxi3MZPpPL1yFpXwgALnm12oBtV3zgKMirPS5dcVzG8BV68lUPb JWkFskkdoMKudJsPpXb9Zng4mGycPMGR2vrwHGz5BphvVAiwa4aS8SGkSZTGMfIvdeox IGeBi9w0SrECjL+2tEE6MuTFwYiZCt8vKLQLw= Received: by 10.213.27.66 with SMTP id h2mr8601577ebc.64.1297167921275; Tue, 08 Feb 2011 04:25:21 -0800 (PST) Received: from linux-mhg7.site (89-74-121-163.dynamic.chello.pl [89.74.121.163]) by mx.google.com with ESMTPS id b52sm3961792eei.13.2011.02.08.04.25.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Feb 2011 04:25:20 -0800 (PST) From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org Date: Tue, 08 Feb 2011 13:25:12 +0100 Message-Id: <20110208122512.19110.28041.sendpatchset@linux-mhg7.site> In-Reply-To: <20110208122314.19110.4092.sendpatchset@linux-mhg7.site> References: <20110208122314.19110.4092.sendpatchset@linux-mhg7.site> Subject: [PATCH 13/20] pata_rdc: add Power Management support Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From fa27d376b5fa43f73305154c1ca58aa93e1d4138 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Tue, 8 Feb 2011 12:39:27 +0100 Subject: [PATCH 13/20] pata_rdc: add Power Management support Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/pata_rdc.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/ata/pata_rdc.c b/drivers/ata/pata_rdc.c index f55ff82..a4a0d88 100644 --- 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 };