Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752518AbdHMLMA (ORCPT ); Sun, 13 Aug 2017 07:12:00 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35500 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196AbdHMLL6 (ORCPT ); Sun, 13 Aug 2017 07:11:58 -0400 From: Arvind Yadav To: wg@grandegger.com, mkl@pengutronix.de, madalin.bucur@nxp.com, davem@davemloft.net, sergei.shtylyov@cogentembedded.com, grygorii.strashko@ti.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org Subject: [PATCH 0/4] constify net platform_device_id Date: Sun, 13 Aug 2017 16:41:44 +0530 Message-Id: <1502622705-11169-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: 736 Lines: 18 platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Arvind Yadav (4): [PATCH 1/4] can: constify platform_device_id [PATCH 2/4] net: dpaa_eth: constify platform_device_id [PATCH 3/4] net: sh_eth: constify platform_device_id [PATCH 4/4] net: ti: cpsw:: constify platform_device_id drivers/net/can/c_can/c_can_platform.c | 2 +- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +- drivers/net/ethernet/renesas/sh_eth.c | 2 +- drivers/net/ethernet/ti/cpsw.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.4