diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/setup.c | 1 | ||||
-rw-r--r-- | arch/ppc/platforms/85xx/stx_gp3.c | 1 | ||||
-rw-r--r-- | arch/ppc/platforms/ev64260.c | 4 | ||||
-rw-r--r-- | arch/ppc/platforms/prep_pci.c | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/gt64260_pic.c | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/mpc52xx_pic.c | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/mv64360_pic.c | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/ocp.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc83xx_setup.c | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc8xx_pic.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc_sys.c | 2 | ||||
-rw-r--r-- | arch/ppc/xmon/start.c | 1 |
12 files changed, 5 insertions, 13 deletions
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index 5255bd80aa6b..3c453029f1c5 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <asm/nvram.h> | 37 | #include <asm/nvram.h> |
38 | #include <asm/xmon.h> | 38 | #include <asm/xmon.h> |
39 | #include <asm/ocp.h> | 39 | #include <asm/ocp.h> |
40 | #include <asm/prom.h> | ||
41 | 40 | ||
42 | #define USES_PPC_SYS (defined(CONFIG_85xx) || defined(CONFIG_83xx) || \ | 41 | #define USES_PPC_SYS (defined(CONFIG_85xx) || defined(CONFIG_83xx) || \ |
43 | defined(CONFIG_MPC10X_BRIDGE) || defined(CONFIG_8260) || \ | 42 | defined(CONFIG_MPC10X_BRIDGE) || defined(CONFIG_8260) || \ |
diff --git a/arch/ppc/platforms/85xx/stx_gp3.c b/arch/ppc/platforms/85xx/stx_gp3.c index b1f5b737c70d..731b40eacfdb 100644 --- a/arch/ppc/platforms/85xx/stx_gp3.c +++ b/arch/ppc/platforms/85xx/stx_gp3.c | |||
@@ -50,7 +50,6 @@ | |||
50 | #include <asm/irq.h> | 50 | #include <asm/irq.h> |
51 | #include <asm/immap_85xx.h> | 51 | #include <asm/immap_85xx.h> |
52 | #include <asm/cpm2.h> | 52 | #include <asm/cpm2.h> |
53 | #include <asm/mpc85xx.h> | ||
54 | #include <asm/ppc_sys.h> | 53 | #include <asm/ppc_sys.h> |
55 | 54 | ||
56 | #include <syslib/cpm2_pic.h> | 55 | #include <syslib/cpm2_pic.h> |
diff --git a/arch/ppc/platforms/ev64260.c b/arch/ppc/platforms/ev64260.c index 976270d537c1..c1f77e1d368e 100644 --- a/arch/ppc/platforms/ev64260.c +++ b/arch/ppc/platforms/ev64260.c | |||
@@ -336,7 +336,7 @@ ev64260_early_serial_map(void) | |||
336 | #endif | 336 | #endif |
337 | 337 | ||
338 | if (early_serial_setup(&port) != 0) | 338 | if (early_serial_setup(&port) != 0) |
339 | printk(KERN_WARNING "Early serial init of port 0" | 339 | printk(KERN_WARNING "Early serial init of port 0 " |
340 | "failed\n"); | 340 | "failed\n"); |
341 | 341 | ||
342 | first_time = 0; | 342 | first_time = 0; |
@@ -388,7 +388,7 @@ ev64260_setup_arch(void) | |||
388 | ev64260_early_serial_map(); | 388 | ev64260_early_serial_map(); |
389 | #endif | 389 | #endif |
390 | 390 | ||
391 | printk(KERN_INFO "%s %s port (C) 2001 MontaVista Software, Inc." | 391 | printk(KERN_INFO "%s %s port (C) 2001 MontaVista Software, Inc. " |
392 | "(source@mvista.com)\n", BOARD_VENDOR, BOARD_MACHINE); | 392 | "(source@mvista.com)\n", BOARD_VENDOR, BOARD_MACHINE); |
393 | 393 | ||
394 | if (ppc_md.progress) | 394 | if (ppc_md.progress) |
diff --git a/arch/ppc/platforms/prep_pci.c b/arch/ppc/platforms/prep_pci.c index 1df3150f016e..8ed433e2a5c7 100644 --- a/arch/ppc/platforms/prep_pci.c +++ b/arch/ppc/platforms/prep_pci.c | |||
@@ -1099,7 +1099,6 @@ prep_pib_init(void) | |||
1099 | pci_write_config_byte(dev, 0x43, reg); | 1099 | pci_write_config_byte(dev, 0x43, reg); |
1100 | } | 1100 | } |
1101 | } | 1101 | } |
1102 | pci_dev_put(dev); | ||
1103 | } | 1102 | } |
1104 | 1103 | ||
1105 | if ((dev = pci_get_device(PCI_VENDOR_ID_WINBOND, | 1104 | if ((dev = pci_get_device(PCI_VENDOR_ID_WINBOND, |
diff --git a/arch/ppc/syslib/gt64260_pic.c b/arch/ppc/syslib/gt64260_pic.c index e84d432c0657..3b4fcca5d1e1 100644 --- a/arch/ppc/syslib/gt64260_pic.c +++ b/arch/ppc/syslib/gt64260_pic.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <linux/interrupt.h> | 35 | #include <linux/interrupt.h> |
36 | #include <linux/sched.h> | 36 | #include <linux/sched.h> |
37 | #include <linux/signal.h> | 37 | #include <linux/signal.h> |
38 | #include <linux/stddef.h> | ||
39 | #include <linux/delay.h> | 38 | #include <linux/delay.h> |
40 | #include <linux/irq.h> | 39 | #include <linux/irq.h> |
41 | 40 | ||
diff --git a/arch/ppc/syslib/mpc52xx_pic.c b/arch/ppc/syslib/mpc52xx_pic.c index af35a316544a..f58149c03b0f 100644 --- a/arch/ppc/syslib/mpc52xx_pic.c +++ b/arch/ppc/syslib/mpc52xx_pic.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
22 | #include <linux/signal.h> | 22 | #include <linux/signal.h> |
23 | #include <linux/stddef.h> | ||
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <linux/irq.h> | 24 | #include <linux/irq.h> |
26 | 25 | ||
diff --git a/arch/ppc/syslib/mv64360_pic.c b/arch/ppc/syslib/mv64360_pic.c index 4b7a3338e122..2dd2dc5cd404 100644 --- a/arch/ppc/syslib/mv64360_pic.c +++ b/arch/ppc/syslib/mv64360_pic.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <linux/init.h> | 36 | #include <linux/init.h> |
37 | #include <linux/sched.h> | 37 | #include <linux/sched.h> |
38 | #include <linux/signal.h> | 38 | #include <linux/signal.h> |
39 | #include <linux/stddef.h> | ||
40 | #include <linux/delay.h> | 39 | #include <linux/delay.h> |
41 | #include <linux/irq.h> | 40 | #include <linux/irq.h> |
42 | #include <linux/interrupt.h> | 41 | #include <linux/interrupt.h> |
diff --git a/arch/ppc/syslib/ocp.c b/arch/ppc/syslib/ocp.c index 3f5be2c5ce99..d42d4085dc81 100644 --- a/arch/ppc/syslib/ocp.c +++ b/arch/ppc/syslib/ocp.c | |||
@@ -376,7 +376,7 @@ ocp_remove_one_device(unsigned int vendor, unsigned int function, int index) | |||
376 | 376 | ||
377 | down_write(&ocp_devices_sem); | 377 | down_write(&ocp_devices_sem); |
378 | dev = __ocp_find_device(vendor, function, index); | 378 | dev = __ocp_find_device(vendor, function, index); |
379 | list_del((struct list_head *)dev); | 379 | list_del(&dev->link); |
380 | up_write(&ocp_devices_sem); | 380 | up_write(&ocp_devices_sem); |
381 | 381 | ||
382 | DBG(("ocp: ocp_remove_one_device(vendor: %x, function: %x, index: %d)... done.\n", vendor, function, index)); | 382 | DBG(("ocp: ocp_remove_one_device(vendor: %x, function: %x, index: %d)... done.\n", vendor, function, index)); |
diff --git a/arch/ppc/syslib/ppc83xx_setup.c b/arch/ppc/syslib/ppc83xx_setup.c index ec466db52114..ea372914dd6e 100644 --- a/arch/ppc/syslib/ppc83xx_setup.c +++ b/arch/ppc/syslib/ppc83xx_setup.c | |||
@@ -41,7 +41,6 @@ | |||
41 | 41 | ||
42 | #include <syslib/ppc83xx_setup.h> | 42 | #include <syslib/ppc83xx_setup.h> |
43 | #if defined(CONFIG_PCI) | 43 | #if defined(CONFIG_PCI) |
44 | #include <asm/delay.h> | ||
45 | #include <syslib/ppc83xx_pci.h> | 44 | #include <syslib/ppc83xx_pci.h> |
46 | #endif | 45 | #endif |
47 | 46 | ||
diff --git a/arch/ppc/syslib/ppc8xx_pic.c b/arch/ppc/syslib/ppc8xx_pic.c index e8619c750732..bce9a75c80e3 100644 --- a/arch/ppc/syslib/ppc8xx_pic.c +++ b/arch/ppc/syslib/ppc8xx_pic.c | |||
@@ -16,7 +16,7 @@ extern int cpm_get_irq(void); | |||
16 | * the only interrupt controller. Some boards, like the MBX and | 16 | * the only interrupt controller. Some boards, like the MBX and |
17 | * Sandpoint have the 8259 as a secondary controller. Depending | 17 | * Sandpoint have the 8259 as a secondary controller. Depending |
18 | * upon the processor type, the internal controller can have as | 18 | * upon the processor type, the internal controller can have as |
19 | * few as 16 interrups or as many as 64. We could use the | 19 | * few as 16 interrupts or as many as 64. We could use the |
20 | * "clear_bit()" and "set_bit()" functions like other platforms, | 20 | * "clear_bit()" and "set_bit()" functions like other platforms, |
21 | * but they are overkill for us. | 21 | * but they are overkill for us. |
22 | */ | 22 | */ |
diff --git a/arch/ppc/syslib/ppc_sys.c b/arch/ppc/syslib/ppc_sys.c index 2d48018b71d9..837183c24dfc 100644 --- a/arch/ppc/syslib/ppc_sys.c +++ b/arch/ppc/syslib/ppc_sys.c | |||
@@ -185,7 +185,7 @@ void platform_notify_map(const struct platform_notify_dev_map *map, | |||
185 | */ | 185 | */ |
186 | 186 | ||
187 | /* | 187 | /* |
188 | Here we'll replace .name pointers with fixed-lenght strings | 188 | Here we'll replace .name pointers with fixed-length strings |
189 | Hereby, this should be called *before* any func stuff triggeded. | 189 | Hereby, this should be called *before* any func stuff triggeded. |
190 | */ | 190 | */ |
191 | void ppc_sys_device_initfunc(void) | 191 | void ppc_sys_device_initfunc(void) |
diff --git a/arch/ppc/xmon/start.c b/arch/ppc/xmon/start.c index 8f0b953179fa..9056fe58aaa1 100644 --- a/arch/ppc/xmon/start.c +++ b/arch/ppc/xmon/start.c | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <linux/sysrq.h> | 10 | #include <linux/sysrq.h> |
11 | #include <linux/bitops.h> | 11 | #include <linux/bitops.h> |
12 | #include <asm/xmon.h> | 12 | #include <asm/xmon.h> |
13 | #include <asm/machdep.h> | ||
14 | #include <asm/errno.h> | 13 | #include <asm/errno.h> |
15 | #include <asm/processor.h> | 14 | #include <asm/processor.h> |
16 | #include <asm/delay.h> | 15 | #include <asm/delay.h> |