diff options
author | Eric Anholt <eric@anholt.net> | 2009-04-20 14:42:31 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-21 15:25:58 -0700 |
commit | 1fc93ee184ceefaea9528bb46ae82884c44d9b36 (patch) | |
tree | 82d7fac54921106fd277a7524e1b3e9bca945718 /src/i830_dvo.c | |
parent | b2d7928f195f6439ecd140e6280b958b8a1f534b (diff) |
Staticize a bunch of functions and variables in the driver.
This cleans up findstatic.pl output for the i830+ code, which resulted in
removing some code. The only odd part of this commit is the
if (0) i830_sdvo_dump() in i830_sdvo.c -- it tells the compiler that the code
is used, without using it since we want the code around while debugging.
It's also in a likely place to ask for the dump, so I think it's OK.
Diffstat (limited to 'src/i830_dvo.c')
-rw-r--r-- | src/i830_dvo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c index 832c7625..a0e80743 100644 --- a/src/i830_dvo.c +++ b/src/i830_dvo.c @@ -61,7 +61,7 @@ static const char *ch7017_symbols[] = { }; /* driver list */ -struct _I830DVODriver i830_dvo_drivers[] = +static struct _I830DVODriver i830_dvo_drivers[] = { { .type = I830_OUTPUT_DVO_TMDS, @@ -370,7 +370,7 @@ static const xf86OutputFuncsRec i830_dvo_output_funcs = { * Other chips with DVO LVDS will need to extend this to deal with the LVDS * chip being on DVOB/C and having multiple pipes. */ -DisplayModePtr +static DisplayModePtr i830_dvo_get_current_mode (xf86OutputPtr output) { ScrnInfoPtr pScrn = output->scrn; |