linux_dsm_epyc7002/drivers/gpu/drm/rockchip
Bhumika Goyal 3f5ce9f0e8 drm/rockchip: make drm_connector_funcs structures const
Make these const as they are only passed to the function
drm_connector_init and the corresponding argument is of type const.
Done using Coccinelle

@match disable optional_qualifier@
identifier s;
@@
static struct drm_connector_funcs s = {...};

@ref@
position p;
identifier match.s;
@@
s@p

@good1@
identifier match.s;
expression e1,e2;
position ref.p;
@@
drm_connector_init(e1,e2,&s@p,...)

@bad depends on  !good1@
position ref.p;
identifier match.s;
@@
s@p

@depends on forall !bad disable optional_qualifier@
identifier match.s;
@@
static
+ const
struct drm_connector_funcs s;

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1502191712-11231-4-git-send-email-bhumirks@gmail.com
2017-08-09 18:38:29 +02:00
..
analogix_dp-rockchip.c Linux 4.12-rc5 2017-06-16 13:58:27 +10:00
cdn-dp-core.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
cdn-dp-core.h drm/rockchip: cdn-dp: retry to check sink count 2017-02-05 16:30:04 +08:00
cdn-dp-reg.c drm/rockchip: cdn-dp: add more log for video config 2017-03-13 15:59:35 -04:00
cdn-dp-reg.h drm/rockchip: cdn-dp: Correct PHY register address 2017-03-13 15:59:26 -04:00
dw_hdmi-rockchip.c drm/rockchip: dw_hdmi: introduce the pclk for grf 2017-06-23 08:52:03 +08:00
dw-mipi-dsi.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
inno_hdmi.c drm/rockchip: make drm_connector_funcs structures const 2017-08-09 18:38:29 +02:00
inno_hdmi.h drm/rockchip: hdmi: add Innosilicon HDMI support 2016-02-18 13:56:43 +08:00
Kconfig drm/rockchip: Refactor the component match logic. 2017-03-24 14:48:58 -04:00
Makefile drm/rockchip: Refactor the component match logic. 2017-03-24 14:48:58 -04:00
rockchip_drm_drv.c drm/rockchip: fix race with kms hotplug and fbdev 2017-08-04 16:09:46 +08:00
rockchip_drm_drv.h Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next-fixes 2017-06-20 11:50:41 -04:00
rockchip_drm_fb.c drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users 2017-07-26 13:45:08 +02:00
rockchip_drm_fb.h drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
rockchip_drm_fbdev.c drm/fb-helper: Automatically clean up fb_info 2017-02-07 21:36:28 +01:00
rockchip_drm_fbdev.h drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION 2016-01-22 08:45:31 +08:00
rockchip_drm_gem.c drm/rockchip: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:35 +02:00
rockchip_drm_gem.h drm/rockchip: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:35 +02:00
rockchip_drm_psr.c drm/rockchip: Fix up bug in psr state machine 2016-09-21 06:55:49 -07:00
rockchip_drm_psr.h drm/rockchip: Don't key off vblank for psr 2016-09-21 06:55:47 -07:00
rockchip_drm_vop.c drm/rockchip: vop: report error when check resource error 2017-08-04 16:09:44 +08:00
rockchip_drm_vop.h drm/rockchip: vop: fix NV12 video display error 2017-08-04 16:09:39 +08:00
rockchip_vop_reg.c drm/rockchip: vop: rk3328: fix overlay abnormal 2017-07-31 08:44:18 +08:00
rockchip_vop_reg.h drm/rockchip: vop: add a series of vop support 2017-07-31 08:44:06 +08:00