projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce98c0
)
dmaengine: ep93xx: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:57:45 +0000
(
00:57
+0900)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 4 May 2015 11:08:55 +0000
(16:38 +0530)
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>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ep93xx_dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/ep93xx_dma.c
b/drivers/dma/ep93xx_dma.c
index 24e5290faa320108fb9a48a754c39ac606ed6927..57ff46284f159eabca5c9b6b28320414605d150f 100644
(file)
--- 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 },
{ },