* [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id
@ 2015-05-01 15:57 Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 2/5] dmaengine: imx: " Krzysztof Kozlowski
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:57 UTC (permalink / raw)
To: Dan Williams, Vinod Koul, dmaengine, linux-kernel; +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/dma/ep93xx_dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c
index 24e5290faa32..57ff46284f15 100644
--- a/drivers/dma/ep93xx_dma.c
+++ b/drivers/dma/ep93xx_dma.c
@@ -1364,7 +1364,7 @@ static int __init ep93xx_dma_probe(struct platform_device *pdev)
return ret;
}
-static struct platform_device_id ep93xx_dma_driver_ids[] = {
+static const struct platform_device_id ep93xx_dma_driver_ids[] = {
{ "ep93xx-dma-m2p", 0 },
{ "ep93xx-dma-m2m", 1 },
{ },
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/5] dmaengine: imx: Constify platform_device_id
2015-05-01 15:57 [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id Krzysztof Kozlowski
@ 2015-05-01 15:57 ` Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 3/5] dmaengine: mxs: " Krzysztof Kozlowski
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:57 UTC (permalink / raw)
To: Dan Williams, Vinod Koul, dmaengine, linux-kernel; +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/dma/imx-dma.c | 2 +-
drivers/dma/imx-sdma.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index eed405976ea9..865501fcc67d 100644
--- a/drivers/dma/imx-dma.c
+++ b/drivers/dma/imx-dma.c
@@ -193,7 +193,7 @@ struct imxdma_filter_data {
int request;
};
-static struct platform_device_id imx_dma_devtype[] = {
+static const struct platform_device_id imx_dma_devtype[] = {
{
.name = "imx1-dma",
.driver_data = IMX1_DMA,
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 62bbd79338e0..77b6aab04f47 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -420,7 +420,7 @@ static struct sdma_driver_data sdma_imx6q = {
.script_addrs = &sdma_script_imx6q,
};
-static struct platform_device_id sdma_devtypes[] = {
+static const struct platform_device_id sdma_devtypes[] = {
{
.name = "imx25-sdma",
.driver_data = (unsigned long)&sdma_imx25,
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/5] dmaengine: mxs: Constify platform_device_id
2015-05-01 15:57 [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 2/5] dmaengine: imx: " Krzysztof Kozlowski
@ 2015-05-01 15:57 ` Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 4/5] dmaengine: nbpfaxi: " Krzysztof Kozlowski
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:57 UTC (permalink / raw)
To: Dan Williams, Vinod Koul, dmaengine, linux-kernel; +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/dma/mxs-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index 829ec686dac3..60de35251da5 100644
--- a/drivers/dma/mxs-dma.c
+++ b/drivers/dma/mxs-dma.c
@@ -170,7 +170,7 @@ static struct mxs_dma_type mxs_dma_types[] = {
}
};
-static struct platform_device_id mxs_dma_ids[] = {
+static const struct platform_device_id mxs_dma_ids[] = {
{
.name = "imx23-dma-apbh",
.driver_data = (kernel_ulong_t) &mxs_dma_types[0],
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/5] dmaengine: nbpfaxi: Constify platform_device_id
2015-05-01 15:57 [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 2/5] dmaengine: imx: " Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 3/5] dmaengine: mxs: " Krzysztof Kozlowski
@ 2015-05-01 15:57 ` Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 5/5] dmaengine: s3c24xx: " Krzysztof Kozlowski
2015-05-04 11:09 ` [PATCH 1/5] dmaengine: ep93xx: " Vinod Koul
4 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:57 UTC (permalink / raw)
To: Dan Williams, Vinod Koul, dmaengine, linux-kernel; +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/dma/nbpfaxi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c
index 88b77c98365d..2b5a198ac77e 100644
--- a/drivers/dma/nbpfaxi.c
+++ b/drivers/dma/nbpfaxi.c
@@ -1455,7 +1455,7 @@ static int nbpf_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id nbpf_ids[] = {
+static const struct platform_device_id nbpf_ids[] = {
{"nbpfaxi64dmac1b4", (kernel_ulong_t)&nbpf_cfg[NBPF1B4]},
{"nbpfaxi64dmac1b8", (kernel_ulong_t)&nbpf_cfg[NBPF1B8]},
{"nbpfaxi64dmac1b16", (kernel_ulong_t)&nbpf_cfg[NBPF1B16]},
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/5] dmaengine: s3c24xx: Constify platform_device_id
2015-05-01 15:57 [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id Krzysztof Kozlowski
` (2 preceding siblings ...)
2015-05-01 15:57 ` [PATCH 4/5] dmaengine: nbpfaxi: " Krzysztof Kozlowski
@ 2015-05-01 15:57 ` Krzysztof Kozlowski
2015-05-04 11:09 ` [PATCH 1/5] dmaengine: ep93xx: " Vinod Koul
4 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:57 UTC (permalink / raw)
To: Dan Williams, Vinod Koul, dmaengine, linux-kernel; +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/dma/s3c24xx-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c
index 01dcaf21b988..17ccdfd28f37 100644
--- a/drivers/dma/s3c24xx-dma.c
+++ b/drivers/dma/s3c24xx-dma.c
@@ -1168,7 +1168,7 @@ static struct soc_data soc_s3c2443 = {
.has_clocks = true,
};
-static struct platform_device_id s3c24xx_dma_driver_ids[] = {
+static const struct platform_device_id s3c24xx_dma_driver_ids[] = {
{
.name = "s3c2410-dma",
.driver_data = (kernel_ulong_t)&soc_s3c2410,
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id
2015-05-01 15:57 [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id Krzysztof Kozlowski
` (3 preceding siblings ...)
2015-05-01 15:57 ` [PATCH 5/5] dmaengine: s3c24xx: " Krzysztof Kozlowski
@ 2015-05-04 11:09 ` Vinod Koul
4 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2015-05-04 11:09 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: Dan Williams, dmaengine, linux-kernel
On Sat, May 02, 2015 at 12:57:45AM +0900, Krzysztof Kozlowski wrote:
> The platform_device_id is not modified by the driver and core uses it as
> const.
>
Applied all, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-04 11:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 15:57 [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 2/5] dmaengine: imx: " Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 3/5] dmaengine: mxs: " Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 4/5] dmaengine: nbpfaxi: " Krzysztof Kozlowski
2015-05-01 15:57 ` [PATCH 5/5] dmaengine: s3c24xx: " Krzysztof Kozlowski
2015-05-04 11:09 ` [PATCH 1/5] dmaengine: ep93xx: " Vinod Koul
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.