From patchwork Tue May 24 10:10:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 9133375 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 6DBDE607D5 for ; Tue, 24 May 2016 10:26:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66BB528233 for ; Tue, 24 May 2016 10:26:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BE5F28258; Tue, 24 May 2016 10:26:10 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9961F28233 for ; Tue, 24 May 2016 10:26:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E4196E6F9; Tue, 24 May 2016 10:26:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 862 seconds by postgrey-1.35 at gabe; Tue, 24 May 2016 10:25:47 UTC Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0082.outbound.protection.outlook.com [65.55.169.82]) by gabe.freedesktop.org (Postfix) with ESMTPS id A921A6E6F6 for ; Tue, 24 May 2016 10:25:47 +0000 (UTC) Received: from BN3PR0301CA0081.namprd03.prod.outlook.com (10.160.152.177) by DM2PR03MB479.namprd03.prod.outlook.com (10.141.85.25) with Microsoft SMTP Server (TLS) id 15.1.501.7; Tue, 24 May 2016 10:11:19 +0000 Received: from BL2FFO11OLC010.protection.gbl (2a01:111:f400:7c09::163) by BN3PR0301CA0081.outlook.office365.com (2a01:111:e400:401e::49) with Microsoft SMTP Server (TLS) id 15.1.501.7 via Frontend Transport; Tue, 24 May 2016 10:11:19 +0000 Authentication-Results: spf=softfail (sender IP is 192.88.168.50) smtp.mailfrom=gmail.com; arm.linux.org.uk; dkim=none (message not signed) header.d=none; arm.linux.org.uk; dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 192.88.168.50 as permitted sender) Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11OLC010.mail.protection.outlook.com (10.173.160.154) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Tue, 24 May 2016 10:11:19 +0000 Received: from victor.ap.freescale.net (victor.ap.freescale.net [10.192.241.62]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u4OABCM0024148; Tue, 24 May 2016 03:11:17 -0700 From: Liu Ying To: Subject: [PATCH 01/14] drm/imx: ipuv3-plane: Constify ipu_plane_funcs Date: Tue, 24 May 2016 18:10:40 +0800 Message-ID: <1464084653-16684-2-git-send-email-gnuiyl@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464084653-16684-1-git-send-email-gnuiyl@gmail.com> References: <1464084653-16684-1-git-send-email-gnuiyl@gmail.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131085582792954369; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(189002)(199003)(9170700003)(2906002)(83322999)(4326007)(73972006)(81442002)(86362001)(81166006)(5003940100001)(8936002)(105596002)(189998001)(1220700001)(104016004)(106466001)(6806005)(61266001)(47776003)(73392002)(76482005)(110136002)(586003)(11100500001)(87936001)(50466002)(5008740100001)(2950100001)(229853001)(76176999)(2351001)(50986999)(77096005)(87572001)(33646002)(48376002)(50226002)(82202001)(36756003)(19580405001)(19580395003)(92566002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR03MB479; H:tx30smr01.am.freescale.net; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC010; 1:UpssAE2OOY9bBrDCzbuS4UcZW96A5/CaKQ1GuUxoavnZHTDRUw5jkbacyVvBq+DtYEJQ54pRlhy6nacYoCb3WitmmLYVgbt0wQnKI+Ub+0jrq19Djp2uhXLT1r3BV7BNORHL3Edc4phscmwkGSyQce+1PXqrun7qYdVrXsFZbotirflpIRkelN04dxaMExj11CikE/vZOuWJLC6YPGJtQ2CICDNfgV8yo4W3OfwkacOV5Bzs3pELFJEx4B1aP7tiFC3SmFmgsgN5nCja1PHe2Rn0aSdA7XdAdYOpNwlv9Pem5/j/ZORZdLOJ1o0Bx6SD3XCBUa7+1ZiPZjZ9K59vrCiawt1VRPY9wWZFeoASUndMmk27erhI+u/Ax0VeUAJ+xVl64pAr65YY3brCBWfwIU/nPIp323M8hh3DUGHqB8KYiQGsZ93x3EzTaZrBboxJZ81Ni5ome2auYEAuR2PCtB8rZ/eMyT5kzFcc2W1td5dsbcu9pgOKa+w72RX7AfCgxNfX8LozXCYKpsjXMqkoB0A00eqISJOd47BaJiAfy/G5WNoD2pn4xkXyw/IfCSvq MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 31952fe3-6d88-4971-9201-08d383bbc003 X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB479; 2:ikuxdB60OIBmOL7Ua7BU5+OnZALUyu5odlz68gWuHStBtLfOfPMjFw4eogzLG+pB3IsFx6GTzpJxOepoCOvez2YKrzaczBTGPRRVRov8NF0AO51b7kKVYRkMbvsXJGsusRjWN84qQnwdtQCLLWbUuT/D5x2FmsM5uKOsQ+0OkfU1BNL1hniqy8p+rkAxX1oT; 3:Nmgb2aynKMlU2w/n069P8cS1/lUKD4pz3kfypqXyeTanAnHkgvINoTiFYJrkOcbHK/aOug9mfnKEE3sNPATeBGDW6Dju8hyT1qNfzcxkHQ395sI0rgJ2PjnOtsXRZn1HTjKV1xwAkAUcwNGbbxF3bP19FEyl9MsE/e9RzbBwTd9tQXDnoQ/+lqDEUMZHmQW4q9suEMaU6vtd9rAJ01bSWr1mRT6VfBl3XLZKCe3smP4=; 25:Qx673ccpmRmZpXLJJezsyUObSxchwt6yQgYxkInwaHyuZ2K0+2wEEyXuVl6Tu1JZ60Pufna/iB6JFzUoYNt8p8r1r1Ao5eqxpNEy568q4GLvMfpb1AMkPo4Cdnx28/IVE5fo4aXe6kic/ToUyPa0Ejf30FKnMdZLAQyn2danrVZ0uurVh+lsdHhMpQKGP0un8HbbkagCQCleuC0TtAJuyFC5qRK6k8UOcOBtCTv3M1AYoXkKBKOJsdlqD2unwnNMy6mwxzmlY097B3Ng7EdrsKEmzZLE7WcthNaUW/0+bEePfrj+VeWGt97Q/HM3gEdlpTao9GSK1GLF3CZXnJShnPZhV/bqPXC1HOTvT4D60rZjP8JlqQD41r70+EwSGHDzL/7R8v32/gxU/DyzGIqAejd+79oaqYq6A/E1UbEuxKY= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR03MB479; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(13017025)(13015025)(13024025)(13023025)(13018025)(10201501046)(3002001)(6055026); SRVR:DM2PR03MB479; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR03MB479; X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB479; 4:FGcZYqN3D16YTUsiTE7p5Jjnw1RHNP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lN+LbYF5dStD+fouWHCRzI?= =?us-ascii?Q?qzm/oIBm63z6fjTOf+FZCywwB2KiqXusgyGM7LmR/GxUsoqRuGFp3unghdN+?= =?us-ascii?Q?dGkO41nnQT+67VCLioBk+PXt4LuwITGN+Yq81Qw/ZHQbfcZyCbiFMOMJtiJD?= =?us-ascii?Q?bgAdOHEULKH2g+UzX+rtHOGfMYG3fijcvlT/uyCSdqjGp7OlEGZNuW5LeBxr?= =?us-ascii?Q?Cr/zFIpqe2cR81jhZKWKf3XxykbMQdwnIaHrx3EyH+lYXbONanrAV3EqB+mE?= =?us-ascii?Q?oBwa9pYpZL+30jQRhaiMoPDcsNwUIJ49foRQOxlNU2IS2XZN/LEx0GvmgIu+?= =?us-ascii?Q?m0h/WOi53fTVsdh9Zc6f3kxBjL9z8W9PVQuv5UluvpBamrfLJKwv3HTj9YaQ?= =?us-ascii?Q?o6JawJPKtzN2s06pGGbysADNsFg8NrdWc1AeLOYErkrjsEG2qUwo/LZ0mmhz?= =?us-ascii?Q?z3anUr1lo8z3//YHAmw6LF+ssQUOrmuYo+6GznxD+MI2TiniAbwSGk630bSb?= =?us-ascii?Q?Y4fzQPhCjqYb6CpyEi9bOv+gv73+8TtvcS9S1z1RON6p7R+QE4ChBgKK50V+?= =?us-ascii?Q?fgiw2hSH//MbStai0NAMEvvfQumUI1erJan80CtjicitDQvfo0ifhKzzFOKn?= =?us-ascii?Q?TySYs70NI+VZZsuQEYev+Tlh6efr/ZNH/mNY+Yyf131FYggKKu67JyzJ8TdP?= =?us-ascii?Q?tIYvx+mIAWZKBp2VsyTAn1iIngC7fmgDgRwjfO86wxzVrf1N5BYgiILMl48E?= =?us-ascii?Q?7ht41Cc0zHBxQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB479; 5:oDrG5PrPEOUKGp+a/b6puldsoQkr2YufTKhSLa6AuJeyEQjaP9JPEeajEEGyWMqhENEzd6HhLCRXGozo0P+Ey6Cec5R0pAoqenERsJwbpABG0WREPqtC2jijcFn6cpteqqxu4zuFW0e22ZgE7L0UYEqC6kR1quSV016oKnCk3kc=; 24:52gnWZqGoSZCp/c9hg7iTX6pmbZ0CI4BGXxnRl8h1gj5AzJUaoIXt9Ssp3SZEOcRzC70/Z9Qb5DpOabKcGE7q2DS8Dt5r3qHiXSJaB3a9sU=; 7:R+Tx8fvZZj1fGGNs1r8zhbsWdR6Xm6LIvKBaqLlu0xmnajzAurvrlkgEaJbW5FAHirW04hAvVug47yBpW1mRY26bskOgcSoeKGUvndgc9vckVozf0K0+DimJrvZzvaRrqVFUxg/CiSl4goDBEMAAvxKmBxJS6nNXxkCLjji70fp6TltuNGTesPO8iiVhAJ1A SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 10:11:19.1238 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR03MB479 Cc: Russell King X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Liu Ying --- drivers/gpu/drm/imx/ipuv3-plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c index 681ec6e..157032d 100644 --- a/drivers/gpu/drm/imx/ipuv3-plane.c +++ b/drivers/gpu/drm/imx/ipuv3-plane.c @@ -461,7 +461,7 @@ static void ipu_plane_destroy(struct drm_plane *plane) kfree(ipu_plane); } -static struct drm_plane_funcs ipu_plane_funcs = { +static const struct drm_plane_funcs ipu_plane_funcs = { .update_plane = ipu_update_plane, .disable_plane = ipu_disable_plane, .destroy = ipu_plane_destroy,