summaryrefslogtreecommitdiffstats
path: root/drivers/video/matrox/matroxfb_g450.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-10 05:54:04 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 17:01:56 +0100
commita0aa7d0639277f375989071fb52a7ce78beeef97 (patch)
tree5189b4cae286c754f5193f6ac465e3fff31732b6 /drivers/video/matrox/matroxfb_g450.c
parent[PATCH] vr41xx: ARRAY_SIZE cleanup (diff)
downloadlinux-a0aa7d0639277f375989071fb52a7ce78beeef97.tar.xz
linux-a0aa7d0639277f375989071fb52a7ce78beeef97.zip
[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>
Diffstat (limited to 'drivers/video/matrox/matroxfb_g450.c')
-rw-r--r--drivers/video/matrox/matroxfb_g450.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/matrox/matroxfb_g450.c b/drivers/video/matrox/matroxfb_g450.c
index 35008af7db75..c122d8743dd2 100644
--- a/drivers/video/matrox/matroxfb_g450.c
+++ b/drivers/video/matrox/matroxfb_g450.c
@@ -20,6 +20,8 @@
#include <asm/uaccess.h>
#include <asm/div64.h>
+#include "matroxfb_g450.h"
+
/* Definition of the various controls */
struct mctl {
struct v4l2_queryctrl desc;