summaryrefslogtreecommitdiffstats
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)
downloadtalos-skiboot-e61506bcc11b887eb39c61a4657db75a1757c1f7.tar.gz
talos-skiboot-e61506bcc11b887eb39c61a4657db75a1757c1f7.zip
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 fe364a28..d5eea829 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 3a607d05..bc8eed80 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 1b157d84..8f684d24 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 84161901..fbbc0e86 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 85ceaaab..7d32c8d4 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 32155f4f..0b9c7fbf 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 26149daa..e0af9b2a 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 1ed75011..8d2a8559 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 e3a4151b..9d796605 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 78a54dea..2f911013 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 0dce4fcd..f25d6aa6 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 5e96e0a3..45ee2e2f 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 541fc6c1..2a29a7ef 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 41194248..2b3957a9 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 ce2784ae..b1d81967 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 81ee5b9a..737fb780 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 538f59de..1b7c473d 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 554dbde8..c1195f2b 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 4ec2bbb8..d8181205 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 ed91c15a..eaba8bbb 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 c9dc70a8..cbb08170 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 f27c1b38..f6abc4bf 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 87a774a5..257cdd63 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 b494abdd..139a1a76 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 bd77a1f4..a59c329e 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 c57052f6..7a9d1ae5 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 2bda3edd..237f8c09 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 46271e27..01fb3e1b 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 b73f69c6..2e6114ac 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 6689ff38..d84fd158 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 77313d1a..2315e816 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 32da794e..dfa49fa9 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 1d9c6178..e65ae57b 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 baba154c..c0692a1a 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>
OpenPOWER on IntegriCloud