From patchwork Tue Aug 8 11:14:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug X-Patchwork-Id: 9887427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 870F6603FA for ; Tue, 8 Aug 2017 11:15:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79287287B1 for ; Tue, 8 Aug 2017 11:15:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C6B2287DB; Tue, 8 Aug 2017 11:15:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_HI, RCVD_IN_SBL_CSS, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2ACAB28795 for ; Tue, 8 Aug 2017 11:15:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752442AbdHHLOn (ORCPT ); Tue, 8 Aug 2017 07:14:43 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35926 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752107AbdHHLOY (ORCPT ); Tue, 8 Aug 2017 07:14:24 -0400 Received: by mail-pg0-f66.google.com with SMTP id y129so2677860pgy.3; Tue, 08 Aug 2017 04:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=iyFbBWMgHP8xZGxHwj8jrW1t/MfeOZdx8+WTJVwQYYk=; b=bftIkgLs9mELvagSw+X1dgfhwx0gMPe0fr5h0LEnwouGHgbcPZxAOWG8i2d6E12AFS fEq7NhEjRHYAyHVSiQqc98tIkG9yIZmoOK+y+Nlz9nrVOQZl5pF2lAaXXIO386XTCMWv iHZJSXm7dhnWAKySyKWnlIaq0v45FzLM4z6c+jVXA98qkIqzmHZ9OLHtqAFuVa3QBx3Y b6F/r5O7kQ1fSgluQlIPLdqVbpUvO64VwYm1RZakBxWQfil9EjsmrHVLff+8C54ugVWC UIwUmvxnjj2GzuAlFQGge6AX3xo/0yD/K/BGGm2j6/UvabMvqwYcd0Hhd2ixuyHng0ux +qxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iyFbBWMgHP8xZGxHwj8jrW1t/MfeOZdx8+WTJVwQYYk=; b=HmmsryqMga6M8oKChMd69mLsHp7D9lPyRYnuByT5Kdp5Dy6k6LBCHm2c+BYeR8Jxnj RXokL/6zfWQ9p5Od4T04oMJmZ2QiZJ2Y9IYiMzMLfqAN165aO+mpVlSpse95Zk/YwbAE v1YMoni5YC9rRj+YZIhfASntx5v/mB2+mMtDcBCCOYsPcFV3QdI8WZDSLQUjXeO91eCM 1rsdiNoxAHnbH6L8w7Ze/dGaMc/wNCtI7mDzGdgFnkNK7fwx16d6mGVluggVJc1SBUmB +z3BXyjwAcgNFPA6f/hAVJRb+XYPXncM5B8dD/jjMW7ZQoRAu6XhXmHXukLrXHbUd8G+ 6dTw== X-Gm-Message-State: AHYfb5j3O6r6SDUd93M5MQvZOM3oJrz7c9ODpmdAxMrUZYsVd8HxnSO8 oT7N1ZpLhisgy5A9 X-Received: by 10.84.216.76 with SMTP id f12mr4295449plj.219.1502190863234; Tue, 08 Aug 2017 04:14:23 -0700 (PDT) Received: from localhost.localdomain ([103.42.74.194]) by smtp.gmail.com with ESMTPSA id o1sm2385926pgq.10.2017.08.08.04.14.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 04:14:22 -0700 (PDT) From: Doug Wilson To: linux-omap@vger.kernel.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Doug Wilson , Doug Wilson Subject: [PATCH] omap/hsmmc: constify dev_pm_ops Date: Tue, 8 Aug 2017 16:44:17 +0530 Message-Id: <1502190857-3762-1-git-send-email-doug.lkml@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP dev_pm_ops is not supposed to change at runtime. Marking it constant. Signed-off-by: Doug Wilson --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 04ff3c9..a280c7f 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -2322,7 +2322,7 @@ static int omap_hsmmc_runtime_resume(struct device *dev) return 0; } -static struct dev_pm_ops omap_hsmmc_dev_pm_ops = { +static const struct dev_pm_ops omap_hsmmc_dev_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(omap_hsmmc_suspend, omap_hsmmc_resume) .runtime_suspend = omap_hsmmc_runtime_suspend, .runtime_resume = omap_hsmmc_runtime_resume,