linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger <rogerable@realtek.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Lee Jones <lee.jones@linaro.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 07/16] mfd: rtsx_usb: Make mfd_cell array const
Date: Thu, 15 May 2014 17:17:05 +0800	[thread overview]
Message-ID: <53748611.6040706@realtek.com> (raw)
In-Reply-To: <1399978733-13662-7-git-send-email-k.kozlowski@samsung.com>


On 05/13/2014 06:58 PM, Krzysztof Kozlowski wrote:
> mfd_add_devices() expects array of struct mfd_cell to be const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Roger Tseng <rogerable@realtek.com>
Acked-by: Roger Tseng <rogerable@realtek.com>
> ---
>   drivers/mfd/rtsx_usb.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/rtsx_usb.c b/drivers/mfd/rtsx_usb.c
> index 141ea52c46e3..6352bec8419a 100644
> --- a/drivers/mfd/rtsx_usb.c
> +++ b/drivers/mfd/rtsx_usb.c
> @@ -29,7 +29,7 @@ static int polling_pipe = 1;
>   module_param(polling_pipe, int, S_IRUGO | S_IWUSR);
>   MODULE_PARM_DESC(polling_pipe, "polling pipe (0: ctl, 1: bulk)");
>
> -static struct mfd_cell rtsx_usb_cells[] = {
> +static const struct mfd_cell rtsx_usb_cells[] = {
>   	[RTSX_USB_SD_CARD] = {
>   		.name = "rtsx_usb_sdmmc",
>   		.pdata_size = 0,
>

Best regards,
Roger Tseng

  reply	other threads:[~2014-05-15  9:18 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
2014-05-19  8:28   ` Lee Jones
2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
2014-05-16 13:37   ` Linus Walleij
2014-05-19  8:24   ` Lee Jones
2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
2014-05-16 13:37   ` Linus Walleij
2014-05-19  8:24   ` Lee Jones
2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
2014-05-14 21:12   ` kevin.strasser
2014-05-19  8:25   ` Lee Jones
2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
2014-05-13 14:55   ` Milo Kim
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
2014-05-15  9:17   ` Roger [this message]
2014-05-19  8:25   ` Lee Jones
2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
2014-05-13 11:35   ` Charles Keepax
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 09/16] mfd: sec-core: Make of_device_id " Krzysztof Kozlowski
2014-05-19  8:33   ` Lee Jones
2014-05-13 10:58 ` [PATCH 10/16] mfd: omap-usb-host: " Krzysztof Kozlowski
2014-05-19  8:32   ` Lee Jones
2014-05-13 10:58 ` [PATCH 11/16] mfd: max8998: " Krzysztof Kozlowski
2014-05-19  8:31   ` Lee Jones
2014-05-13 10:58 ` [PATCH 12/16] mfd: max8997: " Krzysztof Kozlowski
2014-05-19  8:31   ` Lee Jones
2014-05-13 10:58 ` [PATCH 13/16] mfd: as3711: " Krzysztof Kozlowski
2014-05-19  8:27   ` Lee Jones
2014-05-13 10:58 ` [PATCH 14/16] mfd: max77686: " Krzysztof Kozlowski
2014-05-19  8:28   ` Lee Jones
2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
2014-05-13 11:42   ` Chanwoo Choi
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 16/16] mfd: max8907: " Krzysztof Kozlowski
2014-05-19  8:27   ` Lee Jones
2014-05-19  8:23 ` [PATCH 01/16] mfd: max14577: Make mfd_cell " Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53748611.6040706@realtek.com \
    --to=rogerable@realtek.com \
    --cc=k.kozlowski@samsung.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).