Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751925AbdHCQWb (ORCPT ); Thu, 3 Aug 2017 12:22:31 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34536 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbdHCQWa (ORCPT ); Thu, 3 Aug 2017 12:22:30 -0400 From: Arvind Yadav To: dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, marek.vasut@gmail.com, richard@nod.at, cyrille.pitchen@wedev4u.fr Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] constify mtd pci_device_id Date: Thu, 3 Aug 2017 21:52:04 +0530 Message-Id: <1501777330-21380-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 22 pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Arvind Yadav (6): [PATCH 1/6] mtd: maps: ichxrom: constify pci_device_id. [PATCH 2/6] mtd: amd76xrom: constify pci_device_id. [PATCH 3/6] mtd: esb2rom: constify pci_device_id. [PATCH 4/6] mtd: ck804xrom: constify pci_device_id. [PATCH 5/6] mtd: intel_vr_nor: constify pci_device_id. [PATCH 6/6] mtd: pci: constify pci_device_id. drivers/mtd/maps/amd76xrom.c | 4 ++-- drivers/mtd/maps/ck804xrom.c | 4 ++-- drivers/mtd/maps/esb2rom.c | 4 ++-- drivers/mtd/maps/ichxrom.c | 4 ++-- drivers/mtd/maps/intel_vr_nor.c | 2 +- drivers/mtd/maps/pci.c | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) -- 2.7.4