diff options
author | Alistair Popple <alistair@popple.id.au> | 2014-11-13 17:16:07 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-02 18:54:47 +1100 |
commit | 28a178751b4195e546e0e8d429f988793c18f848 (patch) | |
tree | 46841d8b1f50c8ccb227d89895c97198ef93050d /core | |
parent | e9ba0c924d6eed70cef4e41695196705759e60e6 (diff) | |
download | skiboot-28a178751b4195e546e0e8d429f988793c18f848.zip skiboot-28a178751b4195e546e0e8d429f988793c18f848.tar.gz skiboot-28a178751b4195e546e0e8d429f988793c18f848.tar.bz2 |
elog: Clean up error logging headers
Commit cf6f4e8912d29fb89ce85c84834607065ad595a5 introduced a platform
independent frontend for error logging. However it failed to move the
generic parts of the fsp-elog.h header into the platform independent
one, instead relying on the fact that up until now fsp-elog.h was
included whenever a function needed to log errors.
This patch moves the platform independent defines into the frontend
header file (errorlog.h) and removes the include of the platform
specific header in generic code paths.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/errorlog.c | 2 | ||||
-rw-r--r-- | core/pel.c | 2 | ||||
-rw-r--r-- | core/test/run-pel.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/errorlog.c b/core/errorlog.c index dd34c3f..a5b1dbb 100644 --- a/core/errorlog.c +++ b/core/errorlog.c @@ -22,7 +22,7 @@ #include <skiboot.h> #include <lock.h> #include <errorlog.h> -#include <fsp-elog.h> +#include <errorlog.h> #include <pool.h> /* @@ -1,5 +1,5 @@ #include <string.h> -#include <fsp-elog.h> +#include <errorlog.h> #include <device.h> #include <fsp.h> #include <pel.h> diff --git a/core/test/run-pel.c b/core/test/run-pel.c index b7a5b26..40aa374 100644 --- a/core/test/run-pel.c +++ b/core/test/run-pel.c @@ -42,7 +42,7 @@ const void *dt_prop_get(const struct dt_node *node __unused, const char *prop __ return dt_prop; } -int fsp_rtc_get_cached_tod(uint32_t *year_month_day, +int rtc_cache_get_datetime(uint32_t *year_month_day, uint64_t *hour_minute_second_millisecond) { *year_month_day = 0; |