[PATCH] drivers/video/: possible cleanups
authorAdrian Bunk <bunk@stusta.de>
Tue, 10 Jan 2006 04:54:04 +0000 (20:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:56 +0000 (08:01 -0800)
commita0aa7d0639277f375989071fb52a7ce78beeef97
tree5189b4cae286c754f5193f6ac465e3fff31732b6
parent1d64ec153e914cbd60cfaaa47ececed55a9d14d7
[PATCH] drivers/video/: possible cleanups

This patch contains the possible cleanups including the following:
- every file should #include the headers containing the prototypes for
  it's global functions
- make needlessly global functions static
- kyro/STG4000Interface.h: #include video/kyro.h and linux/pci.h
  instead of a manual "struct pci_dev"
- i810_main.{c,h}: prototypes for static functions belong to the
  C file

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: "Antonino A. Daplas" <adaplas@hotpop.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
13 files changed:
drivers/video/arcfb.c
drivers/video/console/softcursor.c
drivers/video/i810/i810-i2c.c
drivers/video/i810/i810_accel.c
drivers/video/i810/i810_gtf.c
drivers/video/i810/i810_main.c
drivers/video/i810/i810_main.h
drivers/video/kyro/STG4000InitDevice.c
drivers/video/kyro/STG4000Interface.h
drivers/video/kyro/STG4000OverlayDevice.c
drivers/video/matrox/matroxfb_g450.c
drivers/video/nvidia/nv_hw.c
drivers/video/tdfxfb.c