From patchwork Mon Jun 20 14:50:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tthayer@opensource.altera.com X-Patchwork-Id: 9187675 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 D57B2607D1 for ; Mon, 20 Jun 2016 14:48:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0CBC2787C for ; Mon, 20 Jun 2016 14:48:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1AF02793D; Mon, 20 Jun 2016 14:48:27 +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.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 841832787C for ; Mon, 20 Jun 2016 14:48:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bF0TX-0007qG-2n; Mon, 20 Jun 2016 14:46:55 +0000 Received: from mail-by2on0084.outbound.protection.outlook.com ([207.46.100.84] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bF0TJ-0007XS-4o for linux-arm-kernel@lists.infradead.org; Mon, 20 Jun 2016 14:46:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k1dkYpWf5G9XK+Jf+3+uHVDfSikSGRsXui2hAO5fcGU=; b=hY4Qvd/NFpQBvt3YL9yrKwhxu/shnESYejoiTPN64yYWEVQA6pOu2SHUsUz3FfkcNdyKyuZOm+e6Wsyiw7hVlzyxss97/s/c/M7fyXM+AzA9Hj1BSP7rWe4TPBpXjbUKe+I5blFwX+M6keijq4u5S1h0tDgUc2HjULQ6AYoOyC8= Received: from DM2PR03CA0038.namprd03.prod.outlook.com (10.141.96.37) by BLUPR0301MB1538.namprd03.prod.outlook.com (10.162.213.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Mon, 20 Jun 2016 14:46:16 +0000 Received: from BL2FFO11FD043.protection.gbl (2a01:111:f400:7c09::119) by DM2PR03CA0038.outlook.office365.com (2a01:111:e400:2428::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12 via Frontend Transport; Mon, 20 Jun 2016 14:46:16 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=pass (signature was verified) header.d=altera.onmicrosoft.com; vger.kernel.org; dmarc=none action=none header.from=opensource.altera.com; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.227 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.227; helo=sj-itexedge03.altera.priv.altera.com; Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BL2FFO11FD043.mail.protection.outlook.com (10.173.161.139) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Mon, 20 Jun 2016 14:46:15 +0000 Received: from na01-bn1-obe.outbound.protection.outlook.com (207.46.163.143) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 20 Jun 2016 07:45:53 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k1dkYpWf5G9XK+Jf+3+uHVDfSikSGRsXui2hAO5fcGU=; b=hY4Qvd/NFpQBvt3YL9yrKwhxu/shnESYejoiTPN64yYWEVQA6pOu2SHUsUz3FfkcNdyKyuZOm+e6Wsyiw7hVlzyxss97/s/c/M7fyXM+AzA9Hj1BSP7rWe4TPBpXjbUKe+I5blFwX+M6keijq4u5S1h0tDgUc2HjULQ6AYoOyC8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tthayer@opensource.altera.com; Received: from tthayer-HP-Z620-Ubuntu.137.57.187.33 (64.129.157.38) by BN3PR03MB1478.namprd03.prod.outlook.com (10.163.35.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Mon, 20 Jun 2016 14:45:59 +0000 From: To: , , , , , , , , , , Subject: [PATCHv4 2/7] EDAC, altera: Make all private data structures static const. Date: Mon, 20 Jun 2016 09:50:47 -0500 Message-ID: <1466434252-26107-3-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1466434252-26107-1-git-send-email-tthayer@opensource.altera.com> References: <1466434252-26107-1-git-send-email-tthayer@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR0501CA0022.namprd05.prod.outlook.com (10.163.126.160) To BN3PR03MB1478.namprd03.prod.outlook.com (10.163.35.141) X-MS-Office365-Filtering-Correlation-Id: e3d40f80-a309-42f9-c09f-08d39919a219 X-Microsoft-Exchange-Diagnostics-untrusted: 1; BN3PR03MB1478; 2:tbfKn4oBsrGT8DFiGcxLA2uEqWnk37B1tATwNi54IAvfyTNkB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7kG3ejDLRcQvJr74KmVfgdK8/9XoxGaaxLFw4E9nQyDbqxO8ABq8wqoBI=; 20:pWx3eUdA4fJCU9Nxur/Pxwc5+ER5nB6Z0GQYGuVwNf1UIj8dhC1uvd9gwuYKtVYP0pxozEIt3UEbkoaukVlhBghx7dDVWTUW9NNmA7QdJGOXbXQ3jBNxV2Y4oC13pPBeVItlHqx3SsUdyDl1FwM+EGSFrbdDrbEAzcDA7iozxQk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(80048183373757); UriScan:(80048183373757); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BN3PR03MB1478; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1478; BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(5005006)(13017025)(13024025)(13015025)(8121501046)(13018025)(3002001)(10201501046)(6055026); SRVR:BLUPR0301MB1538; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0301MB1538; X-Microsoft-Exchange-Diagnostics-untrusted: 1; BN3PR03MB1478; 4:spLIV1tCvpnmdEkhsN5hs0/gcRfIpIefQ6fBV3VHyImcP3kWMyJu0CP3Av+szwl/Z77WxyIg9mCmpY5mbrHSPazG9uZBS7o7sQebQTZ71hJz2OPwP2j0ATGvzR10aX9Q2+gWRn+zsnNlAeNukB4kBaZv1+OBpuX0N/7YGSbgudvmL4zh1WfuhgoARbRZj7Yb84w/sC5iaVWL591OjHKRljQBDiUBs2SYvwqs+mxGDcVSQV9FZWbcvCry4rOBFlfnSw1u7QmmxhMEZNdvWLTQHXpMUAnC7AeG5aJ8cnfJ9V2ufUtaC4XAYEJmTJWcI4KPcb6vWm+3555nBmDNupJ6/QubRFwzMQ0mLI4azwI5VRrr+dth3SeUU/BOIoIh69lmb73YzbC9Jny5UG72p6SjAg7/CWQvSYujWpFXbNcC7HxLk0sZQQvEt0POUd/LY0GE X-Forefront-PRVS: 09796A1B83 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(189002)(199003)(42186005)(97736004)(48376002)(5001770100001)(19580395003)(86362001)(86152002)(77096005)(92566002)(50226002)(2201001)(107886002)(19580405001)(47776003)(50466002)(189998001)(68736007)(2950100001)(6116002)(4001430100002)(81156014)(3846002)(5003940100001)(76176999)(101416001)(81166006)(7846002)(8676002)(586003)(66066001)(5004730100002)(105586002)(33646002)(229853001)(106356001)(2906002)(50986999)(2876002)(4326007)(921003)(4720700001)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB1478; H:tthayer-HP-Z620-Ubuntu.137.57.187.33; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: opensource.altera.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1; BN3PR03MB1478; 23:yyWju1wGbpZhAQkJMfzwahBDq7xDBkaPgncuXl556?= =?us-ascii?Q?yJq2OOMMrCR8/tL53bciU+Kt6jYyXG4to6okTTiQce7osCU3YtGJrjqILnNM?= =?us-ascii?Q?byZVcClz10FqIgVE2M+JCOnl9UfJiLmVBmVuRb6fjaD4JuSZnvQAEHHTLSTl?= =?us-ascii?Q?lt8/RN/ClnDnRFjidFGnF9+Rj54iiEsO5uhm36ayMrJ2k37twkA5Q3RFHvhk?= =?us-ascii?Q?HMm1j2UXjACUyqVrPGHSM9ZzleXaHS3Yr0Y78ostnYqKo0JVfBh6YfYaRCdC?= =?us-ascii?Q?IcJUyKHucCkoC8/6aY3eXDAOl6UjdggFcI3QqLD61WsKV9rt0gobDLtWPCh4?= =?us-ascii?Q?sC5aZJgVujlB3YxP1ak4yTSQj8rhN1f7PaeDniLZSb95YL1vUac6t+/JlV/L?= =?us-ascii?Q?WlVDmZDcWpmoNGMGaSr/l0X3VTr+Pnry/g4+mahZ5OdUHfXATw15/O2B2HDH?=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rr0xJLeBEeOP8i9wEwlWG+nckxo0AaLHTn3yXG2LgqeQqmpZVLlj+1qKnT7a1pTOEc+viB1FeT3oQVOHz4PRfoD3c60wImzraZoesPob/8U4B1PLDbxNf++DmtpRUeCRhnbRonOwmHvclIxqr4LQQP8X5ZDqi0QjR2GLVg90BB6jGuaXNtRFkR3ttIuxEJ3eL+C7K3EwRu9sfgvYVXZ8UtxoAcf/ifeg1A8EAQ==; 5:9ta+AmcRmroOoHPjhcGn+HF0nb+kwjb9n9fd+dEPVA8CosA0FLB/NF+DjMj+hgH6AktPYBVtygqcF0kLzehfHBLUQCtHLsdyyvPnATEpWy637du1Llgi7ageRf0JyAwq9RmZtnjkch3dhdffzFgsDQ==; 24:7wq3lMu7lS6Yl1glykvrX9PjZbWKv+7jsGMlVJ7gCfENJbpAZzOB6x20FIRH73lDFUvNPjMrvth9DzpQXGr00P84Sj98WyXMWIz8HWTYosQ=; 7:68Z0Sv/dvIhGXcAnoqwrIHD+vQ3imTnaZ4Txv+szsjO0HQir0XoqTIzyL77eC/4cghAidXyojW3ItAAWCh69XGrrcxc+BOJjBSpXa35t+VZH39GIO5Y50pAlFh8e3aK18qpbCMJcpq2Yu4Cyvw2g+UyXbAszREPqrEb2c+jsU0WtQqPmsntJdiZg9f6MhSYzdrAZFLszpYoDGRz2mkNKbofFJDMrjGvPJlaTzg+JbLc9FT1Q23XfvgP+rsWEVar6 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics-untrusted: 1; BN3PR03MB1478; 20:X+Z0ydQKW4APg66sQzBSzIEfn7EaZKFHZ1Z4ufNjvx3gP9LfGt/BeULewlxWhnefQziRY95mbsjuVk4PmOR9G3MmjrBkKInPcmQGL95l76P46zz1GkiVtitbZa+uBIQuHmT9SGqf/dYbO4JShXHUEirdhN1B0KAQoMK6DWrJBWM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1478 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BL2FFO11FD043.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.227; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(86362001)(2876002)(68736007)(8676002)(6116002)(86152002)(356003)(2201001)(7846002)(50226002)(8936002)(3846002)(106466001)(229853001)(21840400001)(4326007)(81166006)(81156014)(5004730100002)(105606002)(586003)(33646002)(50466002)(48376002)(956001)(2950100001)(19580405001)(50986999)(189998001)(5003940100001)(107886002)(11100500001)(16796002)(6806005)(19580395003)(85426001)(87936001)(76176999)(6070500001)(97736004)(5001770100001)(47776003)(66066001)(4001430100002)(92566002)(77096005)(2906002)(3720700001)(7099028)(921003)(1121003)(4720700001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0301MB1538; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:0; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD043; 1:+gEyXctbazfaB5+QEz+8j7MLlMTM8mqYftS7+kV1OzPupVpDZi9kx1PsdUMyNnR3c0b42fMyM/ec5ulvKqA6igayyvZuGRCifEOx0qNPgkGoY7hTRSx6JTn6HOySRALCQ0K7xca8Owaff8i66iUfi28oSjeoVCb1fxhZLL9GCmV+mO616mx/wGcPJ2WaJU9dPxWg/ibDKp7jV1Jcbho4UzP0Z6kXiHGOgt+e9sKY5UbgUoGeIPSOmCsBVgrH64IHaT+OUaukG8NNTHi+LO5eBbTSZziutH6bYJfALOvAIrA0cglABiLnQmIFBD2Ontz7kzopAbGGfrZM9LniuJI7MI3TKOd3igfmLgG7aEmOVBUd0VfFZqvVk61scysRS8YmTKsZL02OjagfLsoL4N3PFm6nLVgrAQjo7tHQ05YnIItNDG6YLz5tAqflnprHGvTu4pbB+vGi47g0JBsymQG4nzIJmg9FAQRU+w+/+UP5uDrqnqCpkavgQFpnTIpU/jM54gsE+8CEA/axwUBYAdLNMWEeTu+ph5EiF/IU2XFtc54= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1538; 2:7d0H3PadziM1QTvrG+GHHvNvcXTf8I0rTgAbqacASf6saNq6PmUTZQNU3R/EnioiosShrsX+n4BUaJeGWRB4pgDYHEqM3Uytpd8zjkr99bqJ14D5ofXZESpvqEkLcZf50XLQW51nY1czlRPSTq5cxmlu2us5O0vvRljdoxEBJWApzDM4aK7yyn/IqvP+Eol6; 3:IdveBaKPMJuhvS6uvoTJCyYMW+dRhzpLErLFBiJhZYNGeIcXpF17V3cFKE9Lo+fDgZFcL06J0K48sQFpU4crC8KETeQcF2TpnYOMU8q6LsOJvCrE3Cs41hYGG4yWmSE7oef0HIYzlslZGQPFQP8CqGr11LOkm7R3eB7r4mvQYFQsYcO4mtDiCRoQhrtSVN/DljxSCMpUfVg+HSNbS9TylfO9jqZeqS6cUQs1FBkXQqIMfEiKezxRp5xeySYwtpWW X-DkimResult-Test: Passed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(3001016); SRVR:BLUPR0301MB1538; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1538; 25:1EZ6XWzj3xVXUxhR3elYPkv9DrIlHtqw8ULbvqLnpYjBRY5di7TGb4QYC/+hotMqj4PfDVPq+1tRGJWmPGCEKPx487gki4ZJnWDS+5xNtxnU0FigjuPQmMff/+5zXImjDzXoQuwVwidIty4JMyr8oUP/eJphGKSSpMxCAAwLECWFXQnp7sjdrlmrZ/NLDPry0zQEXT1jtxowbZC/kUauDx9ZrkWMsJ3QfqVRkP9aL4SwNH8k5OX/6sA1ahOJVW8ke/YFfy9iPX4Q3O/nM00lb+J4XGwy6Ms21SpEGorJnf7iMni9Vv4NF/3kyAg5t4emyQFSnx2fhUa30TZTjELAjHP7yGCgNm5HWlY4dHYdcrbuCPi6/HP/1hd3hI5u4iOJlZfkWdXLf5rGNl9YgoElqpgi9+c4pabBX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eMcKlPRTZg0+pJVl3wIYCg7PFUAt9U+FBvYyySoWzIbYJXE640tMYgvVmZFMJ/ullpHK2Kt3dyi0ZdGtswNO1UEWYk9Z/i+z8k1ilhy+4q1uUAJD5KZZ6xXSpv8UXAg==; 5:QynLyO+kaSLfQ1d5hlnbtBr+zef0x1BvqKe1HPnWjs3VFhESVABgy7JjIdZ67p/iMSJ+KZ+LJnLiDXRFM3df7dybauXUotD2wqIRXJWsQFKfTKhxq2mCGUJvZV1hYbXzYzx7GvkN0T5fSlqCntk0gw==; 24:/8qJiMO1ZlqnDJCQ7eqyLuG6xP1cvs3DMY3OeebYzDxtoSNVu2mLVVrMdrGSZZkcZcdUmY3P94zw207gAYqd40tA77AXde3kM6kdZ6GDvc4=; 7:NIw+CyzSdhs2YiOfmyHFrVPZWrmDi14Lx/wELaCsRXByaqNhn1ANJ/OLMhpcq01yWJj5PTFbMiRHqcdN5PhTVOKrDQ4VCtAuLG/UrGbD/FfQZ90X05c3NeWkjc6CLAXCZBg0KB8LGarf/8JnSMDA+HuXH5mGKziI5HWjgYhnvAAWfv9qThnKbd/wj97ZwW2t8wehtRNMe9HpRGZpSkgdeg== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1538; 20:KcRVlaTVrCb6O4N4JUXcuQkRByb5uRzsqIAtgNcOcD687y9ITaC+lKPyTtWwjGmhpdyTBQe1txn4RW1ZAc6qWgq9D9UAanMyHeaRZhB0d0zRlXDH9SzG+1xvAXB2VLIfUcGQUEmzy+24nso8Ne/BmJZd4/3X2hg8LoTQ0I+f+Ak= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2016 14:46:15.8768 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.227]; Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0301MB1538 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160620_074641_282319_D5DBDB3F X-CRM114-Status: UNSURE ( 4.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tthayer.linux@gmail.com, tthayer@opensource.altera.com, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thor Thayer The device private data structures should be converted from const struct edac_device_prv_data to static const struct edac_device_prv_data. Signed-off-by: Thor Thayer --- v4 New patch added for conversion. --- drivers/edac/altera_edac.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c index ced7c55..14c9248 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c @@ -550,10 +550,10 @@ module_platform_driver(altr_edac_driver); * trigger testing are different for each memory. */ -const struct edac_device_prv_data ocramecc_data; -const struct edac_device_prv_data l2ecc_data; -const struct edac_device_prv_data a10_ocramecc_data; -const struct edac_device_prv_data a10_l2ecc_data; +static const struct edac_device_prv_data ocramecc_data; +static const struct edac_device_prv_data l2ecc_data; +static const struct edac_device_prv_data a10_ocramecc_data; +static const struct edac_device_prv_data a10_l2ecc_data; static irqreturn_t altr_edac_device_handler(int irq, void *dev_id) { @@ -908,7 +908,7 @@ static irqreturn_t altr_edac_a10_ecc_irq(int irq, void *dev_id) return IRQ_NONE; } -const struct edac_device_prv_data ocramecc_data = { +static const struct edac_device_prv_data ocramecc_data = { .setup = altr_check_ecc_deps, .ce_clear_mask = (ALTR_OCR_ECC_EN | ALTR_OCR_ECC_SERR), .ue_clear_mask = (ALTR_OCR_ECC_EN | ALTR_OCR_ECC_DERR), @@ -924,7 +924,7 @@ const struct edac_device_prv_data ocramecc_data = { .inject_fops = &altr_edac_device_inject_fops, }; -const struct edac_device_prv_data a10_ocramecc_data = { +static const struct edac_device_prv_data a10_ocramecc_data = { .setup = altr_check_ecc_deps, .ce_clear_mask = ALTR_A10_ECC_SERRPENA, .ue_clear_mask = ALTR_A10_ECC_DERRPENA, @@ -1028,7 +1028,7 @@ static irqreturn_t altr_edac_a10_l2_irq(int irq, void *dev_id) return IRQ_NONE; } -const struct edac_device_prv_data l2ecc_data = { +static const struct edac_device_prv_data l2ecc_data = { .setup = altr_l2_check_deps, .ce_clear_mask = 0, .ue_clear_mask = 0, @@ -1043,7 +1043,7 @@ const struct edac_device_prv_data l2ecc_data = { .inject_fops = &altr_edac_device_inject_fops, }; -const struct edac_device_prv_data a10_l2ecc_data = { +static const struct edac_device_prv_data a10_l2ecc_data = { .setup = altr_l2_check_deps, .ce_clear_mask = ALTR_A10_L2_ECC_SERR_CLR, .ue_clear_mask = ALTR_A10_L2_ECC_MERR_CLR,