]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] PCI: Clean up a lot of sparse "Should it be static?" warnings.
authorGreg KH <gregkh@suse.de>
Fri, 8 Apr 2005 05:53:31 +0000 (14:53 +0900)
committerGreg KH <gregkh@suse.de>
Wed, 4 May 2005 06:45:14 +0000 (23:45 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci-acpi.c
drivers/pci/pci.c
drivers/pci/probe.c
drivers/pci/proc.c
drivers/pci/quirks.c

index 968eb32f292d7e075bb982359d9d7332a5f93f15..bc01d34e2634ca12b582e8b42c8dab7aee01da79 100644 (file)
@@ -19,7 +19,7 @@
 
 static u32 ctrlset_buf[3] = {0, 0, 0};
 static u32 global_ctrlsets = 0;
-u8 OSC_UUID[16] = {0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40, 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66};
+static u8 OSC_UUID[16] = {0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40, 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66};
 
 static acpi_status  
 acpi_query_osc (
index fc8cc6c53778b6336e26ef23b1ac3e78eb16c7a2..88cbe5b5b3f3f60fbee7915ba3339d2f2f4dc5cf 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/module.h>
 #include <linux/spinlock.h>
 #include <asm/dma.h>   /* isa_dma_bridge_buggy */
+#include "pci.h"
 
 
 /**
index 6f0edadd132cfeee9f8327a4af8d178b7ad16353..b7ae87823c69777f772717947b6911ffdeac6b2b 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/cpumask.h>
+#include "pci.h"
 
 #define CARDBUS_LATENCY_TIMER  176     /* secondary latency timer */
 #define CARDBUS_RESERVE_BUSNR  3
index 84cc4f620d8d4807db5830d4aa37f376bfa74463..e68bbfb1e7c318d0c34c11e3c76774ae17f3c60a 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <asm/uaccess.h>
 #include <asm/byteorder.h>
+#include "pci.h"
 
 static int proc_initialized;   /* = 0 */
 
index 15a398051682ae19334a358600ecee9b85f1a434..00388a14a3c61693ac734dee4c4cef172b2a0acc 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/delay.h>
+#include "pci.h"
 
 /* Deal with broken BIOS'es that neglect to enable passive release,
    which can cause problems in combination with the 82441FX/PPro MTRRs */