You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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:
committed by
Linus Torvalds
parent
1d64ec153e
commit
a0aa7d0639
@@ -15,6 +15,7 @@
|
||||
#include <linux/pci.h>
|
||||
|
||||
#include "STG4000Reg.h"
|
||||
#include "STG4000Interface.h"
|
||||
|
||||
/* SDRAM fixed settings */
|
||||
#define SDRAM_CFG_0 0x49A1
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user