[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>
This commit is contained in:
Adrian Bunk
2006-01-09 20:54:04 -08:00
committed by Linus Torvalds
parent 1d64ec153e
commit a0aa7d0639
13 changed files with 68 additions and 62 deletions
+1
View File
@@ -15,6 +15,7 @@
#include <linux/pci.h>
#include "STG4000Reg.h"
#include "STG4000Interface.h"
/* SDRAM fixed settings */
#define SDRAM_CFG_0 0x49A1
+2 -1
View File
@@ -11,7 +11,8 @@
#ifndef _STG4000INTERFACE_H
#define _STG4000INTERFACE_H
struct pci_dev;
#include <linux/pci.h>
#include <video/kyro.h>
/*
* Ramdac Setup
@@ -14,6 +14,7 @@
#include <linux/types.h>
#include "STG4000Reg.h"
#include "STG4000Interface.h"
/* HW Defines */