From patchwork Mon Apr 8 21:28:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 2411771 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7E5BC400EC for ; Mon, 8 Apr 2013 21:28:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965124Ab3DHV2n (ORCPT ); Mon, 8 Apr 2013 17:28:43 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:38699 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965131Ab3DHV2m (ORCPT ); Mon, 8 Apr 2013 17:28:42 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Zl4WF5nX0z3hj1c; Mon, 8 Apr 2013 23:28:41 +0200 (CEST) X-Auth-Info: ez/FXgua5iuvZKp+81atJ8i8YcOm+2BtwPHg8Tp7tXQ= Received: from localhost (p4FC46857.dip.t-dialin.net [79.196.104.87]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA id 3Zl4WF4dsZzbbp0; Mon, 8 Apr 2013 23:28:41 +0200 (CEST) From: Anatolij Gustschin To: linux-mmc@vger.kernel.org, Chris Ball Cc: devicetree-discuss@lists.ozlabs.org, Sascha Hauer , Markus Pargmann , Anatolij Gustschin Subject: [PATCH v3 4/5] mmc: mxcmmc: constify mxcmci_devtype Date: Mon, 8 Apr 2013 23:28:08 +0200 Message-Id: <1365456489-13152-5-git-send-email-agust@denx.de> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1365456489-13152-1-git-send-email-agust@denx.de> References: <1365456489-13152-1-git-send-email-agust@denx.de> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org mxcmci_devtype struct contains constant data, so constify this struct. Signed-off-by: Anatolij Gustschin Acked-by: Sascha Hauer --- v3: - add Acked-by line v2: - remove build warning fix (already fixed elsewhere) and change commit log drivers/mmc/host/mxcmmc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index eb45bf0..9b01acb 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -165,7 +165,7 @@ struct mxcmci_host { enum mxcmci_type devtype; }; -static struct platform_device_id mxcmci_devtype[] = { +static const struct platform_device_id mxcmci_devtype[] = { { .name = "imx21-mmc", .driver_data = IMX21_MMC,