From patchwork Fri Apr 3 23:59:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 11473895 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2CEFB1874 for ; Sat, 4 Apr 2020 00:00:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0901C20737 for ; Sat, 4 Apr 2020 00:00:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b="g96g/S/H" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726437AbgDDAAI (ORCPT ); Fri, 3 Apr 2020 20:00:08 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:26382 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbgDDAAH (ORCPT ); Fri, 3 Apr 2020 20:00:07 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 48vH445nXfzBh; Sat, 4 Apr 2020 02:00:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1585958405; bh=ZL1FnraQ0/rs6zSMOmrniVCYmeY3lor0j5mVDSLrkwQ=; h=Date:From:Subject:To:Cc:From; b=g96g/S/HMVqayegesKET2uy/rGUz5fVOTxMYhm6LLgpGPeyWJo+kzZJlxYzUg4GOu rbfz2yXiLRB0jQrSBF+cOmjussS0DlyAbPmRWxanmFsryVatBe17SPlI1vr9JrOedD Hv6ndl6700AAUjF0cySL/WfZIADP/j0eWZ7p+CbwckRXrNpIm0FS8F3saNKUQyu+lq HKBqSHGuVPHMfePnha96KnV9SODP/TOzuRz7/P/zKHQwVwYPTgCxyQkV0FPWR4/0SK v/FaCCCITgKpiDSTkXRLiD2dMQU+FnZXpwRWl8U79RuIxr2C49fsqZ6VCWC3vercGS wueAzHUFwrm9g== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Sat, 04 Apr 2020 01:59:58 +0200 Message-Id: <2b6d70595475a3ddbd5bb8ae1765868a98c404b6.1585958250.git.mirq-linux@rere.qmqm.pl> From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH 1/5] usb: chipidea: usb2: constify zynq_pdata MIME-Version: 1.0 To: Peter Chen , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org pdata is copied anyway to allow setting device name. Make the source const. Signed-off-by: Michał Mirosław --- drivers/usb/chipidea/ci_hdrc_usb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_usb2.c b/drivers/usb/chipidea/ci_hdrc_usb2.c index c044fba463e4..62cf8a99cf78 100644 --- a/drivers/usb/chipidea/ci_hdrc_usb2.c +++ b/drivers/usb/chipidea/ci_hdrc_usb2.c @@ -28,7 +28,7 @@ static const struct ci_hdrc_platform_data ci_default_pdata = { .flags = CI_HDRC_DISABLE_STREAMING, }; -static struct ci_hdrc_platform_data ci_zynq_pdata = { +static const struct ci_hdrc_platform_data ci_zynq_pdata = { .capoffset = DEF_CAPOFFSET, };