From patchwork Tue Jan 14 02:26:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 3483701 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DFF7EC02DC for ; Tue, 14 Jan 2014 02:28:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2885620166 for ; Tue, 14 Jan 2014 02:28:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 29C2720172 for ; Tue, 14 Jan 2014 02:28:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752485AbaANC2p (ORCPT ); Mon, 13 Jan 2014 21:28:45 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:41154 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbaANC2m (ORCPT ); Mon, 13 Jan 2014 21:28:42 -0500 Received: by mail-pa0-f45.google.com with SMTP id ld10so3956740pab.32 for ; Mon, 13 Jan 2014 18:28:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ARIoSL/Pnh2BftQCvLEuXeK1bP5rqOtycKgfjTGVAZA=; b=Ndwg0bpRSahyNuVZuFQnTf8LbqQyLfDYnSA07Rlwi8qfglEN1QpRdTRyr9wCvcZFfl V2pKJm72PbD3jQG0OfQfBuZMF6XB0n2ITiEZ50QVXawG+M8qUT+Lxj/AFVl3dwMlZwlB U/tEvt3dN47D7+RSZKLVKtC7HGIY6JF1Ogi4EPUbg6Z1x56wP87gP8Vhnta0+NNlXBSP r5nq6w9qX59E4gkWQG1WnxbssQVPM1O6ViryPEQrWhBbb7dkrZwM4zgTnD2lvH6g1peO pfrqR50DAND4Ll5MThQshb1i0jbV7TacF159oP/KIb2hyxMNGpZcB1t7L9v2mfvx5+iY +8LA== X-Gm-Message-State: ALoCoQlaa/VDD0samow53dQfzQLKuv3ZqbC2i3AwWi9hm1xe+ELvwo2QWgYqKOGLEKe/Sc05sEs/ X-Received: by 10.68.201.226 with SMTP id kd2mr7279851pbc.157.1389666522406; Mon, 13 Jan 2014 18:28:42 -0800 (PST) Received: from localhost.localdomain ([124.73.82.100]) by mx.google.com with ESMTPSA id z10sm53253433pas.6.2014.01.13.18.28.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 Jan 2014 18:28:41 -0800 (PST) From: Zhangfei Gao To: Vinod Koul Cc: dmaengine@vger.kernel.org, Zhangfei Gao Subject: [PATCH] dmaengine: k3dma: add static to SIMPLE_DEV_PM_OPS Date: Tue, 14 Jan 2014 10:26:25 +0800 Message-Id: <1389666385-32680-1-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Zhangfei Gao --- drivers/dma/k3dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c index e26075408e9b..37bc6b4c49e8 100644 --- a/drivers/dma/k3dma.c +++ b/drivers/dma/k3dma.c @@ -817,7 +817,7 @@ static int k3_dma_resume(struct device *dev) return 0; } -SIMPLE_DEV_PM_OPS(k3_dma_pmops, k3_dma_suspend, k3_dma_resume); +static SIMPLE_DEV_PM_OPS(k3_dma_pmops, k3_dma_suspend, k3_dma_resume); static struct platform_driver k3_pdma_driver = { .driver = {