Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751940AbdHCRKD (ORCPT ); Thu, 3 Aug 2017 13:10:03 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:36262 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbdHCRKC (ORCPT ); Thu, 3 Aug 2017 13:10:02 -0400 From: Arvind Yadav To: bhelgaas@google.com, scott@spiteful.org Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH 0/5] constify hotplug pci_device_id Date: Thu, 3 Aug 2017 22:39:11 +0530 Message-Id: <1501780156-24708-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: 803 Lines: 20 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 (5): [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id. [PATCH 2/5] PCI: hotplug: ibmphp: constify pci_device_id. [PATCH 3/5] PCI: hotplug: bmphp_ebda: constify pci_device_id. [PATCH 4/5] PCI: hotplug: cpcihp_zt5550: constify pci_device_id. [PATCH 5/5] PCI: hotplug: cpqphp: constify pci_device_id. drivers/pci/hotplug/cpcihp_zt5550.c | 2 +- drivers/pci/hotplug/cpqphp_core.c | 2 +- drivers/pci/hotplug/ibmphp_core.c | 2 +- drivers/pci/hotplug/ibmphp_ebda.c | 2 +- drivers/pci/hotplug/shpchp_core.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) -- 2.7.4