]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
drm: xilinx: dsi: Add const for constant callback functions
authorHyun Kwon <hyun.kwon@xilinx.com>
Thu, 23 Mar 2017 17:04:52 +0000 (10:04 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 29 May 2017 10:25:32 +0000 (12:25 +0200)
commit9db27d0622f9d390b09d0547af4b35d9257807ac
treeab28322d27517c023b04ba06f44d41acf597d210
parent9c6f82cc126ddcdc7d2b296bb3ac99dda67a8179
drm: xilinx: dsi: Add const for constant callback functions

From checkpatch.pl,

WARNING: struct drm_connector_funcs should normally be const
+static struct drm_connector_funcs xilinx_dsi_connector_funcs = {
WARNING: struct drm_encoder_helper_funcs should normally be const
+static struct drm_encoder_helper_funcs xilinx_dsi_encoder_helper_funcs = {
WARNING: struct drm_encoder_funcs should normally be const
+static struct drm_encoder_funcs xilinx_dsi_encoder_funcs = {

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xilinx/xilinx_drm_dsi.c