Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361114

[RFC PATCH linus] drm/nouveau/kms: nouveau_hdmimhz can be static

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [RFC PATCH linus] drm/nouveau/kms: nouveau_hdmimhz can be static
Date 2016-03-19 15:20 +0100
Message-ID <repTr-VC-7@gated-at.bofh.it> (permalink)
References <repTr-VC-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 nouveau_connector.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c
index ae96ebc..b845482 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.c
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.c
@@ -60,7 +60,7 @@ int nouveau_duallink = 1;
 module_param_named(duallink, nouveau_duallink, int, 0400);
 
 MODULE_PARM_DESC(hdmimhz, "Force a maximum HDMI pixel clock (in MHz)");
-int nouveau_hdmimhz = 0;
+static int nouveau_hdmimhz = 0;
 module_param_named(hdmimhz, nouveau_hdmimhz, int, 0400);
 
 struct nouveau_encoder *

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

drivers/gpu/drm/nouveau/nouveau_connector.c:60:5: sparse: symbol  'nouveau_hdmimhz' was not declared. Should it be static? kbuild test robot <fengguang.wu@intel.com> - 2016-03-19 15:20 +0100
  [RFC PATCH linus] drm/nouveau/kms: nouveau_hdmimhz can be static kbuild test robot <fengguang.wu@intel.com> - 2016-03-19 15:20 +0100

csiph-web