Skip to content

Commit

Permalink
[PATCH] ppc64: Remove old includes
Browse files Browse the repository at this point in the history
Trim some no longer needed includes from udbg.c and friends.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Milton Miller authored and Paul Mackerras committed Sep 6, 2005
1 parent c8f1c8b commit 188d2ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
5 changes: 1 addition & 4 deletions arch/ppc64/kernel/udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@
#define WANT_PPCDBG_TAB /* Only defined here */
#include <linux/config.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <asm/ppcdebug.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/prom.h>

void (*udbg_putc)(unsigned char c);
unsigned char (*udbg_getc)(void);
Expand Down
7 changes: 1 addition & 6 deletions arch/ppc64/kernel/udbg_16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@
*/
#include <linux/config.h>
#include <linux/types.h>
#include <asm/ppcdebug.h>
#include <asm/processor.h>
#include <asm/naca.h>
#include <asm/uaccess.h>
#include <asm/machdep.h>
#include <asm/udbg.h>
#include <asm/io.h>
#include <asm/prom.h>

extern u8 real_readb(volatile u8 __iomem *addr);
extern void real_writeb(u8 data, volatile u8 __iomem *addr);
Expand Down
4 changes: 1 addition & 3 deletions arch/ppc64/kernel/udbg_scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
*/
#include <linux/config.h>
#include <linux/types.h>
#include <asm/ppcdebug.h>
#include <asm/udbg.h>
#include <asm/processor.h>
#include <asm/naca.h>
#include <asm/uaccess.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/pmac_feature.h>
Expand Down

0 comments on commit 188d2ce

Please sign in to comment.