Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752495AbdFVLzi (ORCPT ); Thu, 22 Jun 2017 07:55:38 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35192 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbdFVLzh (ORCPT ); Thu, 22 Jun 2017 07:55:37 -0400 From: Arvind Yadav To: gregkh@linuxfoundation.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org Subject: [PATCH] base: topology: constify topology_attr_group. Date: Thu, 22 Jun 2017 17:24:56 +0530 Message-Id: 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: 780 Lines: 28 File size before: text data bss dec hex filename 594 328 0 922 39a drivers/base/topology.o File size After adding 'const': text data bss dec hex filename 634 264 0 898 382 drivers/base/topology.o Signed-off-by: Arvind Yadav --- drivers/base/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/topology.c b/drivers/base/topology.c index d6ec1c5..d936fcf 100644 --- a/drivers/base/topology.c +++ b/drivers/base/topology.c @@ -105,7 +105,7 @@ NULL }; -static struct attribute_group topology_attr_group = { +static const struct attribute_group topology_attr_group = { .attrs = default_attrs, .name = "topology" }; -- 1.9.1