[-mm patch] drivers/video/intelfb/intelfbhw.c: make struct plls static

From: Adrian Bunk
Date: Thu Mar 23 2006 - 18:54:37 EST


On Thu, Mar 23, 2006 at 01:40:46AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc6-mm2:
>...
> git-intelfb.patch
>...
> git trees.
>...

This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.16-mm1-full/drivers/video/intelfb/intelfbhw.c.old 2006-03-23 23:12:20.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/video/intelfb/intelfbhw.c 2006-03-23 23:12:30.000000000 +0100
@@ -56,7 +56,7 @@
#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
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/