projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe7cde
)
dmaengine: mxs: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:57:47 +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/mxs-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/mxs-dma.c
b/drivers/dma/mxs-dma.c
index 829ec686dac337bbad7091db38f5271f73bd0ca9..60de35251da5d3950442a310f82f6311ef50783a 100644
(file)
--- 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],