dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ville.syrjala@linux.intel.com
To: dri-devel@lists.freedesktop.org
Subject: [PATCH 02/20] drm/armada:  Constify function pointer structs
Date: Wed,  2 Sep 2015 13:44:00 +0300	[thread overview]
Message-ID: <1441190658-6616-2-git-send-email-ville.syrjala@linux.intel.com> (raw)
In-Reply-To: <1441190658-6616-1-git-send-email-ville.syrjala@linux.intel.com>

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Moves a bunch of junk to .rodata from .data.

drivers/gpu/drm/armada/armada.ko:
-.rodata                      1040
+.rodata                      1100
-.data                        1156
+.data                        1096

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/armada/armada_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c
index 01ffe9b..8a9c5d3 100644
--- a/drivers/gpu/drm/armada/armada_crtc.c
+++ b/drivers/gpu/drm/armada/armada_crtc.c
@@ -1003,7 +1003,7 @@ armada_drm_crtc_set_property(struct drm_crtc *crtc,
 	return 0;
 }
 
-static struct drm_crtc_funcs armada_crtc_funcs = {
+static const struct drm_crtc_funcs armada_crtc_funcs = {
 	.cursor_set	= armada_drm_crtc_cursor_set,
 	.cursor_move	= armada_drm_crtc_cursor_move,
 	.destroy	= armada_drm_crtc_destroy,
-- 
2.4.6

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2015-09-02 10:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02 10:43 [PATCH 01/20] drm: Constify drm_encoder_slave_funcs ville.syrjala
2015-09-02 10:44 ` ville.syrjala [this message]
2015-09-02 10:44 ` [PATCH 03/20] drm/atmel-hlcdc: Constify function pointer structs ville.syrjala
2015-10-09 20:59   ` Boris Brezillon
2015-09-02 10:44 ` [PATCH 04/20] drm/bochs: " ville.syrjala
2015-09-02 10:44 ` [PATCH 05/20] drm/bridge/dw_hdmi: " ville.syrjala
2015-09-02 10:44 ` [PATCH 06/20] drm/bridge/nxp-ptn3460: " ville.syrjala
2015-09-02 10:44 ` [PATCH 07/20] drm/i2c/ch7006: " ville.syrjala
2015-09-02 10:44 ` [PATCH 08/20] drm/cirrus: " ville.syrjala
2015-09-02 10:44 ` [PATCH 09/20] drm/exynos: " ville.syrjala
2015-09-02 12:24   ` Gustavo Padovan
2015-09-02 10:44 ` [PATCH 10/20] drm/i2c/adv7511: " ville.syrjala
2015-09-02 10:44 ` [PATCH 11/20] drm/i2c/sil164: " ville.syrjala
2015-09-02 10:44 ` [PATCH 12/20] drm/i2c/tda998x: " ville.syrjala
2015-09-02 10:44 ` [PATCH 13/20] drm/imx: " ville.syrjala
2015-09-02 10:44 ` [PATCH 14/20] drm/mgag200: " ville.syrjala
2015-09-02 10:44 ` [PATCH 15/20] drm/nouveau: " ville.syrjala
2015-09-02 10:44 ` [PATCH 16/20] drm/rockchip: " ville.syrjala
2015-09-02 10:44 ` [PATCH 17/20] drm/sti: " ville.syrjala
2015-09-02 10:44 ` [PATCH 18/20] drm/tegra: " ville.syrjala
2015-09-02 10:44 ` [PATCH 19/20] drm/udl: " ville.syrjala
2015-09-02 10:44 ` [PATCH 20/20] drm/vmwgfx: " ville.syrjala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441190658-6616-2-git-send-email-ville.syrjala@linux.intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox