* [PATCH 1/6] mmc: davinci: Constify platform_device_id
@ 2015-05-01 15:49 Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 2/6] mmc: mxs: " Krzysztof Kozlowski
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:49 UTC (permalink / raw)
To: Ulf Hansson, linux-mmc, linux-kernel, linux-arm-kernel,
Ben Dooks, Jaehoon Chung
Cc: Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/mmc/host/davinci_mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
index 1625f908dc70..ea2a2ebc6b91 100644
--- a/drivers/mmc/host/davinci_mmc.c
+++ b/drivers/mmc/host/davinci_mmc.c
@@ -1161,7 +1161,7 @@ static void __init init_mmcsd_host(struct mmc_davinci_host *host)
mmc_davinci_reset_ctrl(host, 0);
}
-static struct platform_device_id davinci_mmc_devtype[] = {
+static const struct platform_device_id davinci_mmc_devtype[] = {
{
.name = "dm6441-mmc",
.driver_data = MMC_CTLR_VERSION_1,
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/6] mmc: mxs: Constify platform_device_id
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
@ 2015-05-01 15:49 ` Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 3/6] mmc: rtsx: " Krzysztof Kozlowski
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:49 UTC (permalink / raw)
To: Ulf Hansson, linux-mmc, linux-kernel, linux-arm-kernel,
Ben Dooks, Jaehoon Chung
Cc: Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/mmc/host/mxs-mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
index a82411a2c024..d839147e591d 100644
--- a/drivers/mmc/host/mxs-mmc.c
+++ b/drivers/mmc/host/mxs-mmc.c
@@ -549,7 +549,7 @@ static const struct mmc_host_ops mxs_mmc_ops = {
.enable_sdio_irq = mxs_mmc_enable_sdio_irq,
};
-static struct platform_device_id mxs_ssp_ids[] = {
+static const struct platform_device_id mxs_ssp_ids[] = {
{
.name = "imx23-mmc",
.driver_data = IMX23_SSP,
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/6] mmc: rtsx: Constify platform_device_id
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 2/6] mmc: mxs: " Krzysztof Kozlowski
@ 2015-05-01 15:49 ` Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 4/6] mmc: s3cmci: " Krzysztof Kozlowski
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:49 UTC (permalink / raw)
To: Ulf Hansson, linux-mmc, linux-kernel, linux-arm-kernel,
Ben Dooks, Jaehoon Chung
Cc: Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/mmc/host/rtsx_pci_sdmmc.c | 2 +-
drivers/mmc/host/rtsx_usb_sdmmc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c
index 1d3d6c4bfdc6..93137483ecde 100644
--- a/drivers/mmc/host/rtsx_pci_sdmmc.c
+++ b/drivers/mmc/host/rtsx_pci_sdmmc.c
@@ -1474,7 +1474,7 @@ static int rtsx_pci_sdmmc_drv_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id rtsx_pci_sdmmc_ids[] = {
+static const struct platform_device_id rtsx_pci_sdmmc_ids[] = {
{
.name = DRV_NAME_RTSX_PCI_SDMMC,
}, {
diff --git a/drivers/mmc/host/rtsx_usb_sdmmc.c b/drivers/mmc/host/rtsx_usb_sdmmc.c
index 88af827e086b..6c71fc9f76c7 100644
--- a/drivers/mmc/host/rtsx_usb_sdmmc.c
+++ b/drivers/mmc/host/rtsx_usb_sdmmc.c
@@ -1439,7 +1439,7 @@ static int rtsx_usb_sdmmc_drv_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id rtsx_usb_sdmmc_ids[] = {
+static const struct platform_device_id rtsx_usb_sdmmc_ids[] = {
{
.name = "rtsx_usb_sdmmc",
}, {
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/6] mmc: s3cmci: Constify platform_device_id
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 2/6] mmc: mxs: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 3/6] mmc: rtsx: " Krzysztof Kozlowski
@ 2015-05-01 15:49 ` Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 5/6] mmc: sdhci-imx: " Krzysztof Kozlowski
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:49 UTC (permalink / raw)
To: Ulf Hansson, linux-mmc, linux-kernel, linux-arm-kernel,
Ben Dooks, Jaehoon Chung
Cc: Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/mmc/host/s3cmci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
index 94cddf381ba3..6291d5042ef2 100644
--- a/drivers/mmc/host/s3cmci.c
+++ b/drivers/mmc/host/s3cmci.c
@@ -1856,7 +1856,7 @@ static int s3cmci_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id s3cmci_driver_ids[] = {
+static const struct platform_device_id s3cmci_driver_ids[] = {
{
.name = "s3c2410-sdi",
.driver_data = 0,
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 5/6] mmc: sdhci-imx: Constify platform_device_id
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
` (2 preceding siblings ...)
2015-05-01 15:49 ` [PATCH 4/6] mmc: s3cmci: " Krzysztof Kozlowski
@ 2015-05-01 15:49 ` Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 6/6] mmc: sdhc-s3c: " Krzysztof Kozlowski
2015-05-05 8:36 ` [PATCH 1/6] mmc: davinci: " Ulf Hansson
5 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:49 UTC (permalink / raw)
To: Ulf Hansson, linux-mmc, linux-kernel, linux-arm-kernel,
Ben Dooks, Jaehoon Chung
Cc: Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/mmc/host/sdhci-esdhc-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 82f512d87cb8..7b6ff7067320 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -161,7 +161,7 @@ struct pltfm_imx_data {
u32 is_ddr;
};
-static struct platform_device_id imx_esdhc_devtype[] = {
+static const struct platform_device_id imx_esdhc_devtype[] = {
{
.name = "sdhci-esdhc-imx25",
.driver_data = (kernel_ulong_t) &esdhc_imx25_data,
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 6/6] mmc: sdhc-s3c: Constify platform_device_id
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
` (3 preceding siblings ...)
2015-05-01 15:49 ` [PATCH 5/6] mmc: sdhci-imx: " Krzysztof Kozlowski
@ 2015-05-01 15:49 ` Krzysztof Kozlowski
2015-05-05 8:36 ` [PATCH 1/6] mmc: davinci: " Ulf Hansson
5 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:49 UTC (permalink / raw)
To: Ulf Hansson, linux-mmc, linux-kernel, linux-arm-kernel,
Ben Dooks, Jaehoon Chung
Cc: Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/mmc/host/sdhci-s3c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index c6d2dd7317c1..70c724bc6fc7 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -736,7 +736,7 @@ static struct sdhci_s3c_drv_data exynos4_sdhci_drv_data = {
#define EXYNOS4_SDHCI_DRV_DATA ((kernel_ulong_t)NULL)
#endif
-static struct platform_device_id sdhci_s3c_driver_ids[] = {
+static const struct platform_device_id sdhci_s3c_driver_ids[] = {
{
.name = "s3c-sdhci",
.driver_data = (kernel_ulong_t)NULL,
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/6] mmc: davinci: Constify platform_device_id
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
` (4 preceding siblings ...)
2015-05-01 15:49 ` [PATCH 6/6] mmc: sdhc-s3c: " Krzysztof Kozlowski
@ 2015-05-05 8:36 ` Ulf Hansson
5 siblings, 0 replies; 7+ messages in thread
From: Ulf Hansson @ 2015-05-05 8:36 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-mmc, linux-kernel, linux-arm-kernel, Ben Dooks, Jaehoon Chung
On 1 May 2015 at 17:49, Krzysztof Kozlowski <k.kozlowski.k@gmail.com> wrote:
> The platform_device_id is not modified by the driver and core uses it as
> const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Thanks, applied all patches (1->6). The last one I updated the prefix
in commit message header to "sdhci".
Kind regards
Uffe
> ---
> drivers/mmc/host/davinci_mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
> index 1625f908dc70..ea2a2ebc6b91 100644
> --- a/drivers/mmc/host/davinci_mmc.c
> +++ b/drivers/mmc/host/davinci_mmc.c
> @@ -1161,7 +1161,7 @@ static void __init init_mmcsd_host(struct mmc_davinci_host *host)
> mmc_davinci_reset_ctrl(host, 0);
> }
>
> -static struct platform_device_id davinci_mmc_devtype[] = {
> +static const struct platform_device_id davinci_mmc_devtype[] = {
> {
> .name = "dm6441-mmc",
> .driver_data = MMC_CTLR_VERSION_1,
> --
> 2.1.4
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-05-05 8:36 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 2/6] mmc: mxs: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 3/6] mmc: rtsx: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 4/6] mmc: s3cmci: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 5/6] mmc: sdhci-imx: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 6/6] mmc: sdhc-s3c: " Krzysztof Kozlowski
2015-05-05 8:36 ` [PATCH 1/6] mmc: davinci: " Ulf Hansson
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).