瀏覽代碼

This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Dave Airlie 19 年之前
父節點
當前提交
46f60b8e67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/video/intelfb/intelfbhw.c

+ 1 - 1
drivers/video/intelfb/intelfbhw.c

@@ -56,7 +56,7 @@ struct pll_min_max {
 #define PLLS_I9xx 1
 #define PLLS_MAX 2
 
-struct pll_min_max plls[PLLS_MAX] = {
+static struct pll_min_max plls[PLLS_MAX] = {
 	{ 108, 140, 18, 26, 6, 16, 3, 16, 4, 128, 0, 31, 930000, 1400000, 165000, 4, 22 }, //I8xx
 	{  75, 120, 10, 20, 5, 9, 4,  7, 5, 80, 1, 8, 930000, 2800000, 200000, 10, 5 }  //I9xx
 };