Re: [PATCH 1/3] mmc: sdhci_pltfm: Constify sdhci_pltfm_data

2013-03-12 Thread Stephen Warren
On 03/12/2013 04:52 AM, Lars-Peter Clausen wrote: > The sdhci_pltfm_data struct is never modified within the sdhci_pltfm module. > So > make the pdata parameter to sdhci_pltfm_init and sdhci_pltfm_register const. > This allows drivers to declare their sdhci_pltfm_data struct as const. > > This pa

[PATCH 1/3] mmc: sdhci_pltfm: Constify sdhci_pltfm_data

2013-03-12 Thread Lars-Peter Clausen
The sdhci_pltfm_data struct is never modified within the sdhci_pltfm module. So make the pdata parameter to sdhci_pltfm_init and sdhci_pltfm_register const. This allows drivers to declare their sdhci_pltfm_data struct as const. This patch also makes the sdhci_pltfm_data declarations const where po

Re: [PATCH 1/3] mmc: sdhci_pltfm: Constify sdhci_pltfm_data

2013-02-17 Thread Shawn Guo
On Thu, Feb 14, 2013 at 07:06:19PM +0100, Lars-Peter Clausen wrote: > The sdhci_pltfm_data struct is never modified within the sdhci_pltfm module. > So > make the pdata parameter to sdhci_pltfm_init and sdhci_pltfm_register const. > This allows drivers to declare their sdhci_pltfm_data struct as c

[PATCH 1/3] mmc: sdhci_pltfm: Constify sdhci_pltfm_data

2013-02-14 Thread Lars-Peter Clausen
The sdhci_pltfm_data struct is never modified within the sdhci_pltfm module. So make the pdata parameter to sdhci_pltfm_init and sdhci_pltfm_register const. This allows drivers to declare their sdhci_pltfm_data struct as const. This patch also makes the sdhci_pltfm_data declarations const where po