aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-31 21:53:20 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-04-01 12:16:39 +1100
commite61506bcc11b887eb39c61a4657db75a1757c1f7 (patch)
tree291f46023842757d0f1752c2f1a6dfaec2f28923
parent7ac9925b879405b742fe175e397fc99a4822aa48 (diff)
downloadskiboot-e61506bcc11b887eb39c61a4657db75a1757c1f7.zip
skiboot-e61506bcc11b887eb39c61a4657db75a1757c1f7.tar.gz
skiboot-e61506bcc11b887eb39c61a4657db75a1757c1f7.tar.bz2
Remove redundant includes of opal-api.h
Now that opal.h includes opal-api.h, there are a bunch of files that include both but don't need to. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--core/affinity.c1
-rw-r--r--core/console.c1
-rw-r--r--core/cpu.c1
-rw-r--r--core/exceptions.c1
-rw-r--r--core/flash.c1
-rw-r--r--core/hmi.c1
-rw-r--r--core/i2c.c1
-rw-r--r--core/init.c1
-rw-r--r--core/interrupts.c1
-rw-r--r--core/ipmi.c1
-rw-r--r--core/nvram.c1
-rw-r--r--core/opal.c1
-rw-r--r--core/platform.c1
-rw-r--r--core/sensor.c1
-rw-r--r--core/timebase.c1
-rw-r--r--core/timer.c1
-rw-r--r--hw/fake-rtc.c1
-rw-r--r--hw/fsp/fsp-console.c1
-rw-r--r--hw/fsp/fsp-dpo.c1
-rw-r--r--hw/fsp/fsp-epow.c1
-rw-r--r--hw/fsp/fsp-leds.c1
-rw-r--r--hw/fsp/fsp-mdst-table.c1
-rw-r--r--hw/fsp/fsp-nvram.c1
-rw-r--r--hw/fsp/fsp-op-panel.c1
-rw-r--r--hw/fsp/fsp-sysparam.c1
-rw-r--r--hw/fsp/fsp.c1
-rw-r--r--hw/ipmi/ipmi-opal.c1
-rw-r--r--hw/ipmi/ipmi-rtc.c1
-rw-r--r--hw/lpc-uart.c1
-rw-r--r--hw/p7ioc-phb.c1
-rw-r--r--hw/p7ioc.c1
-rw-r--r--hw/phb3.c1
-rw-r--r--hw/prd.c1
-rw-r--r--hw/psi.c1
34 files changed, 0 insertions, 34 deletions
diff --git a/core/affinity.c b/core/affinity.c
index fe364a2..d5eea82 100644
--- a/core/affinity.c
+++ b/core/affinity.c
@@ -45,7 +45,6 @@
*/
#include <skiboot.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <console.h>
#include <trace.h>
diff --git a/core/console.c b/core/console.c
index 3a607d0..bc8eed8 100644
--- a/core/console.c
+++ b/core/console.c
@@ -23,7 +23,6 @@
#include <unistd.h>
#include <console.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <processor.h>
#include <cpu.h>
diff --git a/core/cpu.c b/core/cpu.c
index 1b157d8..8f684d2 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -22,7 +22,6 @@
#include <cpu.h>
#include <device.h>
#include <opal.h>
-#include <opal-api.h>
#include <stack.h>
#include <trace.h>
#include <affinity.h>
diff --git a/core/exceptions.c b/core/exceptions.c
index 8416190..fbbc0e8 100644
--- a/core/exceptions.c
+++ b/core/exceptions.c
@@ -17,7 +17,6 @@
#include <skiboot.h>
#include <stack.h>
#include <opal.h>
-#include <opal-api.h>
#include <processor.h>
#include <cpu.h>
diff --git a/core/flash.c b/core/flash.c
index 85ceaaa..7d32c8d 100644
--- a/core/flash.c
+++ b/core/flash.c
@@ -18,7 +18,6 @@
#include <lock.h>
#include <opal.h>
#include <opal-msg.h>
-#include <opal-api.h>
#include <device.h>
#include <libflash/libflash.h>
#include <libflash/libffs.h>
diff --git a/core/hmi.c b/core/hmi.c
index 32155f4..0b9c7fb 100644
--- a/core/hmi.c
+++ b/core/hmi.c
@@ -15,7 +15,6 @@
*/
#include <skiboot.h>
#include <opal.h>
-#include <opal-api.h>
#include <opal-msg.h>
#include <processor.h>
#include <chiptod.h>
diff --git a/core/i2c.c b/core/i2c.c
index 26149da..e0af9b2 100644
--- a/core/i2c.c
+++ b/core/i2c.c
@@ -17,7 +17,6 @@
#include <skiboot.h>
#include <i2c.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <opal-msg.h>
diff --git a/core/init.c b/core/init.c
index 1ed7501..8d2a855 100644
--- a/core/init.c
+++ b/core/init.c
@@ -25,7 +25,6 @@
#include <xscom.h>
#include <device_tree.h>
#include <opal.h>
-#include <opal-api.h>
#include <opal-msg.h>
#include <elf.h>
#include <io.h>
diff --git a/core/interrupts.c b/core/interrupts.c
index e3a4151..9d79660 100644
--- a/core/interrupts.c
+++ b/core/interrupts.c
@@ -19,7 +19,6 @@
#include <fsp.h>
#include <interrupts.h>
#include <opal.h>
-#include <opal-api.h>
#include <io.h>
#include <cec.h>
#include <device.h>
diff --git a/core/ipmi.c b/core/ipmi.c
index 78a54de..2f91101 100644
--- a/core/ipmi.c
+++ b/core/ipmi.c
@@ -19,7 +19,6 @@
#include <bt.h>
#include <ipmi.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <skiboot.h>
#include <lock.h>
diff --git a/core/nvram.c b/core/nvram.c
index 0dce4fc..f25d6aa 100644
--- a/core/nvram.c
+++ b/core/nvram.c
@@ -17,7 +17,6 @@
#include <skiboot.h>
#include <fsp.h>
#include <opal.h>
-#include <opal-api.h>
#include <lock.h>
#include <device.h>
#include <platform.h>
diff --git a/core/opal.c b/core/opal.c
index 5e96e0a..45ee2e2 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -16,7 +16,6 @@
#include <skiboot.h>
#include <opal.h>
-#include <opal-api.h>
#include <stack.h>
#include <lock.h>
#include <fsp.h>
diff --git a/core/platform.c b/core/platform.c
index 541fc6c..2a29a7e 100644
--- a/core/platform.c
+++ b/core/platform.c
@@ -17,7 +17,6 @@
#include <skiboot.h>
#include <opal.h>
-#include <opal-api.h>
#include <console.h>
#include <timebase.h>
#include <cpu.h>
diff --git a/core/sensor.c b/core/sensor.c
index 4119424..2b3957a 100644
--- a/core/sensor.c
+++ b/core/sensor.c
@@ -19,7 +19,6 @@
#include <skiboot.h>
#include <device.h>
#include <opal.h>
-#include <opal-api.h>
#include <dts.h>
struct dt_node *sensor_node;
diff --git a/core/timebase.c b/core/timebase.c
index ce2784a..b1d8196 100644
--- a/core/timebase.c
+++ b/core/timebase.c
@@ -17,7 +17,6 @@
#include <timebase.h>
#include <opal.h>
-#include <opal-api.h>
#include <cpu.h>
static void time_wait_poll(unsigned long duration)
diff --git a/core/timer.c b/core/timer.c
index 81ee5b9..737fb78 100644
--- a/core/timer.c
+++ b/core/timer.c
@@ -4,7 +4,6 @@
#include <fsp.h>
#include <device.h>
#include <opal.h>
-#include <opal-api.h>
#ifdef __TEST__
#define this_cpu() ((void *)-1)
diff --git a/hw/fake-rtc.c b/hw/fake-rtc.c
index 538f59d..1b7c473 100644
--- a/hw/fake-rtc.c
+++ b/hw/fake-rtc.c
@@ -16,7 +16,6 @@
#include <skiboot.h>
#include <opal.h>
-#include <opal-api.h>
#include <mem_region.h>
static uint32_t *fake_ymd;
diff --git a/hw/fsp/fsp-console.c b/hw/fsp/fsp-console.c
index 554dbde..c1195f2 100644
--- a/hw/fsp/fsp-console.c
+++ b/hw/fsp/fsp-console.c
@@ -23,7 +23,6 @@
#include <fsp.h>
#include <console.h>
#include <opal.h>
-#include <opal-api.h>
#include <timebase.h>
#include <device.h>
#include <fsp-sysparam.h>
diff --git a/hw/fsp/fsp-dpo.c b/hw/fsp/fsp-dpo.c
index 4ec2bbb..d818120 100644
--- a/hw/fsp/fsp-dpo.c
+++ b/hw/fsp/fsp-dpo.c
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <timebase.h>
#include <opal.h>
-#include <opal-api.h>
#include <opal-msg.h>
#define PREFIX "FSPDPO: "
diff --git a/hw/fsp/fsp-epow.c b/hw/fsp/fsp-epow.c
index ed91c15..eaba8bb 100644
--- a/hw/fsp/fsp-epow.c
+++ b/hw/fsp/fsp-epow.c
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <spcn.h>
#include <opal.h>
-#include <opal-api.h>
#include <opal-msg.h>
#include "fsp-epow.h"
diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c
index c9dc70a..cbb0817 100644
--- a/hw/fsp/fsp-leds.c
+++ b/hw/fsp/fsp-leds.c
@@ -24,7 +24,6 @@
#include <spcn.h>
#include <lock.h>
#include <errorlog.h>
-#include <opal-api.h>
#include <opal.h>
#include <opal-msg.h>
diff --git a/hw/fsp/fsp-mdst-table.c b/hw/fsp/fsp-mdst-table.c
index f27c1b3..f6abc4b 100644
--- a/hw/fsp/fsp-mdst-table.c
+++ b/hw/fsp/fsp-mdst-table.c
@@ -29,7 +29,6 @@
#include <fsp.h>
#include <psi.h>
#include <opal.h>
-#include <opal-api.h>
#include <lock.h>
#include <skiboot.h>
#include <errorlog.h>
diff --git a/hw/fsp/fsp-nvram.c b/hw/fsp/fsp-nvram.c
index 87a774a..257cdd6 100644
--- a/hw/fsp/fsp-nvram.c
+++ b/hw/fsp/fsp-nvram.c
@@ -17,7 +17,6 @@
#include <skiboot.h>
#include <fsp.h>
#include <opal.h>
-#include <opal-api.h>
#include <lock.h>
#include <device.h>
#include <errorlog.h>
diff --git a/hw/fsp/fsp-op-panel.c b/hw/fsp/fsp-op-panel.c
index b494abd..139a1a7 100644
--- a/hw/fsp/fsp-op-panel.c
+++ b/hw/fsp/fsp-op-panel.c
@@ -18,7 +18,6 @@
#include <fsp.h>
#include <lock.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <processor.h>
#include <opal-msg.h>
diff --git a/hw/fsp/fsp-sysparam.c b/hw/fsp/fsp-sysparam.c
index bd77a1f..a59c329 100644
--- a/hw/fsp/fsp-sysparam.c
+++ b/hw/fsp/fsp-sysparam.c
@@ -16,7 +16,6 @@
#include <skiboot.h>
#include <fsp.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <lock.h>
#include <processor.h>
diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
index c57052f..7a9d1ae 100644
--- a/hw/fsp/fsp.c
+++ b/hw/fsp/fsp.c
@@ -36,7 +36,6 @@
#include <cpu.h>
#include <errorlog.h>
#include <opal.h>
-#include <opal-api.h>
#include <opal-msg.h>
#include <ccan/list/list.h>
diff --git a/hw/ipmi/ipmi-opal.c b/hw/ipmi/ipmi-opal.c
index 2bda3ed..237f8c0 100644
--- a/hw/ipmi/ipmi-opal.c
+++ b/hw/ipmi/ipmi-opal.c
@@ -19,7 +19,6 @@
#include <ipmi.h>
#include <lock.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <ccan/list/list.h>
diff --git a/hw/ipmi/ipmi-rtc.c b/hw/ipmi/ipmi-rtc.c
index 46271e2..01fb3e1 100644
--- a/hw/ipmi/ipmi-rtc.c
+++ b/hw/ipmi/ipmi-rtc.c
@@ -21,7 +21,6 @@
#include <time-utils.h>
#include <device.h>
#include <opal.h>
-#include <opal-api.h>
#include <rtc.h>
static enum {idle, waiting, updated, error} time_status;
diff --git a/hw/lpc-uart.c b/hw/lpc-uart.c
index b73f69c..2e6114a 100644
--- a/hw/lpc-uart.c
+++ b/hw/lpc-uart.c
@@ -18,7 +18,6 @@
#include <lpc.h>
#include <console.h>
#include <opal.h>
-#include <opal-api.h>
#include <device.h>
#include <interrupts.h>
#include <processor.h>
diff --git a/hw/p7ioc-phb.c b/hw/p7ioc-phb.c
index 6689ff3..d84fd15 100644
--- a/hw/p7ioc-phb.c
+++ b/hw/p7ioc-phb.c
@@ -24,7 +24,6 @@
#include <pci-cfg.h>
#include <interrupts.h>
#include <opal.h>
-#include <opal-api.h>
#include <ccan/str/str.h>
#define PHBDBG(p, fmt, a...) prlog(PR_DEBUG, "PHB%d: " fmt, \
diff --git a/hw/p7ioc.c b/hw/p7ioc.c
index 77313d1..2315e81 100644
--- a/hw/p7ioc.c
+++ b/hw/p7ioc.c
@@ -19,7 +19,6 @@
#include <p7ioc-regs.h>
#include <cec.h>
#include <opal.h>
-#include <opal-api.h>
#include <io.h>
#include <vpd.h>
#include <interrupts.h>
diff --git a/hw/phb3.c b/hw/phb3.c
index 32da794..dfa49fa 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -35,7 +35,6 @@
#include <vpd.h>
#include <interrupts.h>
#include <opal.h>
-#include <opal-api.h>
#include <cpu.h>
#include <device.h>
#include <ccan/str/str.h>
diff --git a/hw/prd.c b/hw/prd.c
index 1d9c617..e65ae57 100644
--- a/hw/prd.c
+++ b/hw/prd.c
@@ -19,7 +19,6 @@
#include <lock.h>
#include <xscom.h>
#include <chip.h>
-#include <opal-api.h>
#include <opal-msg.h>
#include <fsp.h>
diff --git a/hw/psi.c b/hw/psi.c
index baba154..c0692a1 100644
--- a/hw/psi.c
+++ b/hw/psi.c
@@ -21,7 +21,6 @@
#include <psi.h>
#include <fsp.h>
#include <opal.h>
-#include <opal-api.h>
#include <gx.h>
#include <interrupts.h>
#include <cpu.h>