mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
[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>
This commit is contained in:
parent
6760a1bdf5
commit
fe7bce5ef7
@ -25,6 +25,8 @@
|
|||||||
#define BCSR_ADDR ((uint)0xf8000000)
|
#define BCSR_ADDR ((uint)0xf8000000)
|
||||||
#define BCSR_SIZE ((uint)(32 * 1024))
|
#define BCSR_SIZE ((uint)(32 * 1024))
|
||||||
|
|
||||||
|
struct seq_file;
|
||||||
|
|
||||||
extern int mpc85xx_ads_show_cpuinfo(struct seq_file *m);
|
extern int mpc85xx_ads_show_cpuinfo(struct seq_file *m);
|
||||||
extern void mpc85xx_ads_init_IRQ(void) __init;
|
extern void mpc85xx_ads_init_IRQ(void) __init;
|
||||||
extern void mpc85xx_ads_map_io(void) __init;
|
extern void mpc85xx_ads_map_io(void) __init;
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/seq_file.h>
|
|
||||||
#include <asm/ppcboot.h>
|
#include <asm/ppcboot.h>
|
||||||
|
|
||||||
#define BOARD_CCSRBAR ((uint)0xe0000000)
|
#define BOARD_CCSRBAR ((uint)0xe0000000)
|
||||||
@ -43,7 +42,6 @@ extern void mpc85xx_setup_hose(void) __init;
|
|||||||
extern void mpc85xx_restart(char *cmd);
|
extern void mpc85xx_restart(char *cmd);
|
||||||
extern void mpc85xx_power_off(void);
|
extern void mpc85xx_power_off(void);
|
||||||
extern void mpc85xx_halt(void);
|
extern void mpc85xx_halt(void);
|
||||||
extern int mpc85xx_show_cpuinfo(struct seq_file *m);
|
|
||||||
extern void mpc85xx_init_IRQ(void) __init;
|
extern void mpc85xx_init_IRQ(void) __init;
|
||||||
extern unsigned long mpc85xx_find_end_of_memory(void) __init;
|
extern unsigned long mpc85xx_find_end_of_memory(void) __init;
|
||||||
extern void mpc85xx_calibrate_decr(void) __init;
|
extern void mpc85xx_calibrate_decr(void) __init;
|
||||||
|
Loading…
Reference in New Issue
Block a user