Skip to content

Commit

Permalink
[PARISC] Remove unnecessary extern declarations from asm/pci.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Grant Grundler authored and Kyle McMartin committed Jan 23, 2006
1 parent cb6fc18 commit 2c9aada
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion arch/parisc/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
#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;


/********************************************************************
Expand Down
2 changes: 0 additions & 2 deletions include/asm-parisc/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ struct pci_bios_ops {
*/
extern struct pci_port_ops *pci_port;
extern struct pci_bios_ops *pci_bios;
extern int pci_hba_count;
extern struct pci_hba_data *parisc_pci_hba[];

#ifdef CONFIG_PCI
extern void pcibios_register_hba(struct pci_hba_data *);
Expand Down

0 comments on commit 2c9aada

Please sign in to comment.