aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/pcbios.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/pci/pcbios.c')
-rw-r--r--arch/x86/pci/pcbios.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/pci/pcbios.c b/arch/x86/pci/pcbios.c
index c77b24a8b2da..9b83b9051ae7 100644
--- a/arch/x86/pci/pcbios.c
+++ b/arch/x86/pci/pcbios.c
@@ -79,13 +79,13 @@ union bios32 {
79static struct { 79static struct {
80 unsigned long address; 80 unsigned long address;
81 unsigned short segment; 81 unsigned short segment;
82} bios32_indirect = { 0, __KERNEL_CS }; 82} bios32_indirect __initdata = { 0, __KERNEL_CS };
83 83
84/* 84/*
85 * Returns the entry point for the given service, NULL on error 85 * Returns the entry point for the given service, NULL on error
86 */ 86 */
87 87
88static unsigned long bios32_service(unsigned long service) 88static unsigned long __init bios32_service(unsigned long service)
89{ 89{
90 unsigned char return_code; /* %al */ 90 unsigned char return_code; /* %al */
91 unsigned long address; /* %ebx */ 91 unsigned long address; /* %ebx */
@@ -124,7 +124,7 @@ static struct {
124 124
125static int pci_bios_present; 125static int pci_bios_present;
126 126
127static int check_pcibios(void) 127static int __init check_pcibios(void)
128{ 128{
129 u32 signature, eax, ebx, ecx; 129 u32 signature, eax, ebx, ecx;
130 u8 status, major_ver, minor_ver, hw_mech; 130 u8 status, major_ver, minor_ver, hw_mech;
@@ -312,7 +312,7 @@ static const struct pci_raw_ops pci_bios_access = {
312 * Try to find PCI BIOS. 312 * Try to find PCI BIOS.
313 */ 313 */
314 314
315static const struct pci_raw_ops *pci_find_bios(void) 315static const struct pci_raw_ops *__init pci_find_bios(void)
316{ 316{
317 union bios32 *check; 317 union bios32 *check;
318 unsigned char sum; 318 unsigned char sum;