Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752729AbdFVH4v (ORCPT ); Thu, 22 Jun 2017 03:56:51 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:36610 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbdFVH4u (ORCPT ); Thu, 22 Jun 2017 03:56:50 -0400 From: Arvind Yadav To: joro@8bytes.org Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: [PATCH] iommu: amd_iommu_init: constify amd_iommu_group. Date: Thu, 22 Jun 2017 13:26:08 +0530 Message-Id: <27ffc54ef2739d5a125ade7ab26342ba63ad95ba.1498117578.git.arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 888 Lines: 28 File size before: text data bss dec hex filename 14323 1840 353 16516 4084 drivers/iommu/amd_iommu_init.o File size After adding 'const': text data bss dec hex filename 14379 1776 353 16508 407c drivers/iommu/amd_iommu_init.o Signed-off-by: Arvind Yadav --- drivers/iommu/amd_iommu_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index 5a11328..41a66ae 100644 --- a/drivers/iommu/amd_iommu_init.c +++ b/drivers/iommu/amd_iommu_init.c @@ -1532,7 +1532,7 @@ static ssize_t amd_iommu_show_features(struct device *dev, NULL, }; -static struct attribute_group amd_iommu_group = { +static const struct attribute_group amd_iommu_group = { .name = "amd-iommu", .attrs = amd_iommu_attrs, }; -- 1.9.1