aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc.h')
-rw-r--r--hw/ppc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/ppc.h b/hw/ppc.h
index 4b481af..c2a56c3 100644
--- a/hw/ppc.h
+++ b/hw/ppc.h
@@ -1,11 +1,11 @@
/* PowerPC hardware exceptions management helpers */
typedef void (*clk_setup_cb)(void *opaque, uint32_t freq);
-typedef struct clk_setup_t clk_setup_t;
-struct clk_setup_t {
+typedef struct clk_setup a_clk_setup;
+struct clk_setup {
clk_setup_cb cb;
void *opaque;
};
-static inline void clk_setup (clk_setup_t *clk, uint32_t freq)
+static inline void clk_setup (a_clk_setup *clk, uint32_t freq)
{
if (clk->cb != NULL)
(*clk->cb)(clk->opaque, freq);