mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
[PARISC] Remove unnecessary extern declarations from asm/pci.h
Remove two unnecessary extern declarations from asm/pci.h. They collide with what gcc4.0 assumed was static (and should be static). Found by Joel Soete. Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
cb6fc18e9c
commit
2c9aadabf4
2 changed files with 1 additions and 3 deletions
|
@ -57,7 +57,7 @@ static int pci_hba_count __read_mostly;
|
||||||
|
|
||||||
/* parisc_pci_hba used by pci_port->in/out() ops to lookup bus data. */
|
/* parisc_pci_hba used by pci_port->in/out() ops to lookup bus data. */
|
||||||
#define PCI_HBA_MAX 32
|
#define PCI_HBA_MAX 32
|
||||||
struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX] __read_mostly;
|
static struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX] __read_mostly;
|
||||||
|
|
||||||
|
|
||||||
/********************************************************************
|
/********************************************************************
|
||||||
|
|
|
@ -203,8 +203,6 @@ struct pci_bios_ops {
|
||||||
*/
|
*/
|
||||||
extern struct pci_port_ops *pci_port;
|
extern struct pci_port_ops *pci_port;
|
||||||
extern struct pci_bios_ops *pci_bios;
|
extern struct pci_bios_ops *pci_bios;
|
||||||
extern int pci_hba_count;
|
|
||||||
extern struct pci_hba_data *parisc_pci_hba[];
|
|
||||||
|
|
||||||
#ifdef CONFIG_PCI
|
#ifdef CONFIG_PCI
|
||||||
extern void pcibios_register_hba(struct pci_hba_data *);
|
extern void pcibios_register_hba(struct pci_hba_data *);
|
||||||
|
|
Loading…
Add table
Reference in a new issue