Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/amdm37x/prm/clock_control.h

    r47b2d7e3 r1433ecda  
    6464static inline unsigned sys_clk_freq_kHz(unsigned reg_val)
    6565{
    66         switch(reg_val)
    67         {
    68         case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_12M: return 12000;
    69         case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_13M: return 13000;
    70         case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_19_2M: return 19200;
    71         case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_26M: return 26000;
    72         case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_38_4M: return 38400;
    73         case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_16_8M: return 16800;
     66        switch (reg_val) {
     67        case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_12M:
     68                return 12000;
     69        case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_13M:
     70                return 13000;
     71        case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_19_2M:
     72                return 19200;
     73        case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_26M:
     74                return 26000;
     75        case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_38_4M:
     76                return 38400;
     77        case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_16_8M:
     78                return 16800;
    7479        }
    7580        return 0;
Note: See TracChangeset for help on using the changeset viewer.