diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-05 19:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 19:36:47 -0400 |
commit | 75c96f85845a6707b0f9916cb263cb3584f7d48f (patch) | |
tree | 45a64d1c9bb71d7093db3a11e0f21465c2e3dec6 /drivers/video/sis/sis_main.c | |
parent | 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 (diff) |
[PATCH] make some things static
This patch makes some needlessly global identifiers static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Arjan van de Ven <arjanv@infradead.org>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/sis/sis_main.c')
-rw-r--r-- | drivers/video/sis/sis_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/sis/sis_main.c b/drivers/video/sis/sis_main.c index b773c98f6513..698266036819 100644 --- a/drivers/video/sis/sis_main.c +++ b/drivers/video/sis/sis_main.c | |||
@@ -4762,7 +4762,8 @@ static void __devinit sisfb_post_sis315330(struct pci_dev *pdev) | |||
4762 | #endif | 4762 | #endif |
4763 | 4763 | ||
4764 | 4764 | ||
4765 | int __devinit sisfb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 4765 | static int __devinit sisfb_probe(struct pci_dev *pdev, |
4766 | const struct pci_device_id *ent) | ||
4766 | { | 4767 | { |
4767 | struct sisfb_chip_info *chipinfo = &sisfb_chip_info[ent->driver_data]; | 4768 | struct sisfb_chip_info *chipinfo = &sisfb_chip_info[ent->driver_data]; |
4768 | struct sis_video_info *ivideo = NULL; | 4769 | struct sis_video_info *ivideo = NULL; |
@@ -5940,7 +5941,7 @@ MODULE_PARM_DESC(videoram, | |||
5940 | #endif | 5941 | #endif |
5941 | #endif | 5942 | #endif |
5942 | 5943 | ||
5943 | int __devinit sisfb_init_module(void) | 5944 | static int __devinit sisfb_init_module(void) |
5944 | { | 5945 | { |
5945 | sisfb_setdefaultparms(); | 5946 | sisfb_setdefaultparms(); |
5946 | 5947 | ||