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:
4715727
)
dmaengine: s3c24xx: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:57:49 +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/s3c24xx-dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/s3c24xx-dma.c
b/drivers/dma/s3c24xx-dma.c
index 01dcaf21b98820507cf33ec7b6a5b19e20aea890..17ccdfd28f3702d7de7b0b98299262a36690df85 100644
(file)
--- 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,