Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751251AbdHCICH (ORCPT ); Thu, 3 Aug 2017 04:02:07 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35093 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751067AbdHCICF (ORCPT ); Thu, 3 Aug 2017 04:02:05 -0400 From: Arvind Yadav To: davem@davemloft.net, 3chas3@gmail.com Cc: linux-atm-general@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] constify atm attribute_group structures. Date: Thu, 3 Aug 2017 13:31:45 +0530 Message-Id: <1501747307-11515-1-git-send-email-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: 477 Lines: 14 attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (2): [PATCH 1/2] atm: solos-pci: constify attribute_group structures. [PATCH 2/2] atm: adummy: constify attribute_group structures. drivers/atm/adummy.c | 2 +- drivers/atm/solos-pci.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 1.9.1