From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbdHHLT2 (ORCPT ); Tue, 8 Aug 2017 07:19:28 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:38120 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037AbdHHLTZ (ORCPT ); Tue, 8 Aug 2017 07:19:25 -0400 From: Doug Wilson To: gilad@benyossef.com Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Doug Wilson , Doug Wilson Subject: [PATCH] staging:ccree:constify dev_pm_ops Date: Tue, 8 Aug 2017 16:49:12 +0530 Message-Id: <1502191152-3879-1-git-send-email-doug.lkml@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org dev_pm_ops is not supposed to change at runtime. Marking it constant. Signed-off-by: Doug Wilson --- drivers/staging/ccree/ssi_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c index 78709b92..778fbb2 100644 --- a/drivers/staging/ccree/ssi_driver.c +++ b/drivers/staging/ccree/ssi_driver.c @@ -546,7 +546,7 @@ static int cc7x_remove(struct platform_device *plat_dev) } #if defined(CONFIG_PM_RUNTIME) || defined(CONFIG_PM_SLEEP) -static struct dev_pm_ops arm_cc7x_driver_pm = { +static const struct dev_pm_ops arm_cc7x_driver_pm = { SET_RUNTIME_PM_OPS(ssi_power_mgr_runtime_suspend, ssi_power_mgr_runtime_resume, NULL) }; #endif -- 2.7.4