Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751173AbdG3F0x (ORCPT ); Sun, 30 Jul 2017 01:26:53 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:32968 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbdG3F0u (ORCPT ); Sun, 30 Jul 2017 01:26:50 -0400 From: Arvind Yadav To: arnd@arndb.de, gregkh@linuxfoundation.org, oakad@yahoo.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/4] constify misc pci_device_id. Date: Sun, 30 Jul 2017 10:56:33 +0530 Message-Id: <1501392397-10062-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: 609 Lines: 18 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 (4): [PATCH 1/4] misc: pch_phub: constify pci_device_id. [PATCH 2/4] misc: hpilo: constify pci_device_id. [PATCH 3/4] misc: tifm: constify pci_device_id. [PATCH 4/4] misc: ioc4: constify pci_device_id. drivers/misc/hpilo.c | 2 +- drivers/misc/ioc4.c | 2 +- drivers/misc/pch_phub.c | 2 +- drivers/misc/tifm_7xx1.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.4