public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox