diff options
| author | Kumar Gala <galak@gate.crashing.org> | 2005-11-17 18:45:40 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2005-11-17 21:31:46 -0500 |
| commit | fe7bce5ef70105a6546dc9b5c354219b9f6ea991 (patch) | |
| tree | fd928be43cc97617d5dd9cac6ff2461ffbd83604 | |
| parent | 6760a1bdf56de6e1a30399d9069b94bfea59c13d (diff) | |
[PATCH] ppc: Fix warnings related to seq_file
When we moved things around in irq.h seq_file became an issue. Fix
warnings related to its usage.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
| -rw-r--r-- | arch/ppc/platforms/85xx/mpc85xx_ads_common.h | 2 | ||||
| -rw-r--r-- | arch/ppc/platforms/85xx/stx_gp3.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/platforms/85xx/mpc85xx_ads_common.h b/arch/ppc/platforms/85xx/mpc85xx_ads_common.h index 7b26bcc5d10d..198a6a02cde8 100644 --- a/arch/ppc/platforms/85xx/mpc85xx_ads_common.h +++ b/arch/ppc/platforms/85xx/mpc85xx_ads_common.h | |||
| @@ -25,6 +25,8 @@ | |||
| 25 | #define BCSR_ADDR ((uint)0xf8000000) | 25 | #define BCSR_ADDR ((uint)0xf8000000) |
| 26 | #define BCSR_SIZE ((uint)(32 * 1024)) | 26 | #define BCSR_SIZE ((uint)(32 * 1024)) |
| 27 | 27 | ||
| 28 | struct seq_file; | ||
| 29 | |||
| 28 | extern int mpc85xx_ads_show_cpuinfo(struct seq_file *m); | 30 | extern int mpc85xx_ads_show_cpuinfo(struct seq_file *m); |
| 29 | extern void mpc85xx_ads_init_IRQ(void) __init; | 31 | extern void mpc85xx_ads_init_IRQ(void) __init; |
| 30 | extern void mpc85xx_ads_map_io(void) __init; | 32 | extern void mpc85xx_ads_map_io(void) __init; |
diff --git a/arch/ppc/platforms/85xx/stx_gp3.h b/arch/ppc/platforms/85xx/stx_gp3.h index 7bcc6c35a417..2f25b5195152 100644 --- a/arch/ppc/platforms/85xx/stx_gp3.h +++ b/arch/ppc/platforms/85xx/stx_gp3.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | 21 | ||
| 22 | #include <linux/config.h> | 22 | #include <linux/config.h> |
| 23 | #include <linux/init.h> | 23 | #include <linux/init.h> |
| 24 | #include <linux/seq_file.h> | ||
| 25 | #include <asm/ppcboot.h> | 24 | #include <asm/ppcboot.h> |
| 26 | 25 | ||
| 27 | #define BOARD_CCSRBAR ((uint)0xe0000000) | 26 | #define BOARD_CCSRBAR ((uint)0xe0000000) |
| @@ -43,7 +42,6 @@ extern void mpc85xx_setup_hose(void) __init; | |||
| 43 | extern void mpc85xx_restart(char *cmd); | 42 | extern void mpc85xx_restart(char *cmd); |
| 44 | extern void mpc85xx_power_off(void); | 43 | extern void mpc85xx_power_off(void); |
| 45 | extern void mpc85xx_halt(void); | 44 | extern void mpc85xx_halt(void); |
| 46 | extern int mpc85xx_show_cpuinfo(struct seq_file *m); | ||
| 47 | extern void mpc85xx_init_IRQ(void) __init; | 45 | extern void mpc85xx_init_IRQ(void) __init; |
| 48 | extern unsigned long mpc85xx_find_end_of_memory(void) __init; | 46 | extern unsigned long mpc85xx_find_end_of_memory(void) __init; |
| 49 | extern void mpc85xx_calibrate_decr(void) __init; | 47 | extern void mpc85xx_calibrate_decr(void) __init; |
