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 <[email protected]>
---
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