Skip to content

Commit

Permalink
[PARISC] Add asm-parisc/mckinley.h bus header
Browse files Browse the repository at this point in the history
Add header for McKinley bus related code. Remove extern decl
of proc_mckinley_root in drivers/parisc/sba_iommu.c

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
  • Loading branch information
Kyle McMartin authored and Matthew Wilcox committed Oct 4, 2006
1 parent 3d73cf5 commit 6f03495
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/parisc/sba_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,12 @@
#include <linux/proc_fs.h>
#include <linux/seq_file.h>

#include <asm/mckinley.h> /* for proc_mckinley_root */
#include <asm/runway.h> /* for proc_runway_root */
#include <asm/pdc.h> /* for PDC_MODEL_* */
#include <asm/pdcpat.h> /* for is_pdc_pat() */
#include <asm/parisc-device.h>


/* declared in arch/parisc/kernel/setup.c */
extern struct proc_dir_entry * proc_mckinley_root;

#define MODULE_NAME "SBA"

#ifdef CONFIG_PROC_FS
Expand Down
9 changes: 9 additions & 0 deletions include/asm-parisc/mckinley.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef ASM_PARISC_MCKINLEY_H
#define ASM_PARISC_MCKINLEY_H
#ifdef __KERNEL__

/* declared in arch/parisc/kernel/setup.c */
extern struct proc_dir_entry * proc_mckinley_root;

#endif /*__KERNEL__*/
#endif /*ASM_PARISC_MCKINLEY_H*/

0 comments on commit 6f03495

Please sign in to comment.