diff options
author | Marek Vasut <marex@denx.de> | 2015-07-25 08:37:16 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:06 +0200 |
commit | 163ee7d9d2a71d0d289246c3bf50db7cc9db4a50 (patch) | |
tree | dd5a35c809d7c85c4d3c8982b3a4b01708563462 /arch/arm/mach-socfpga/include/mach | |
parent | 34122eb2621ff49e5e85ef89f98a823db4ff2c68 (diff) |
arm: socfpga: clock: Get rid of cm_config_t typedef
Get rid of this cryptic typedef and replace it with explicit struct cm_config.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/clock_manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/clock_manager.h b/arch/arm/mach-socfpga/include/mach/clock_manager.h index 5449726180..8a3362f4ab 100644 --- a/arch/arm/mach-socfpga/include/mach/clock_manager.h +++ b/arch/arm/mach-socfpga/include/mach/clock_manager.h @@ -17,7 +17,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void); unsigned int cm_get_spi_controller_clk_hz(void); #endif -typedef struct { +struct cm_config { /* main group */ uint32_t main_vco_base; uint32_t mpuclk; @@ -49,9 +49,9 @@ typedef struct { uint32_t ddr2xdqsclk; uint32_t ddrdqclk; uint32_t s2fuser2clk; -} cm_config_t; +}; -extern void cm_basic_init(const cm_config_t *cfg); +extern void cm_basic_init(const struct cm_config *cfg); struct socfpga_clock_manager_main_pll { u32 vco; |