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:
7a57ca7
)
drm/exynos: mixer: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:56:36 +0000
(
00:56
+0900)
committer
Inki Dae
<daeinki@gmail.com>
Tue, 19 May 2015 13:50:52 +0000
(22:50 +0900)
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: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_mixer.c
b/drivers/gpu/drm/exynos/exynos_mixer.c
index 1bcbcfd5f8c389bc1bad92a12d6b02ee036ec9db..1a07fdd3e39d6d91e23e2b1cefbd3dc3aab53b6c 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/
drivers/gpu/drm/exynos/exynos_mixer.c
@@
-1159,7
+1159,7
@@
static struct mixer_drv_data exynos4210_mxr_drv_data = {
.has_sclk = 1,
};
-static struct platform_device_id mixer_driver_types[] = {
+static
const
struct platform_device_id mixer_driver_types[] = {
{
.name = "s5p-mixer",
.driver_data = (unsigned long)&exynos4210_mxr_drv_data,