• Michal Wasiak's avatar
    userspace/libwr: get rid or warnings about pr_info · 18e2737a
    Michal Wasiak authored
    Annoying warnings like:
    
    In file included from ./include/libwr/hal_shmem.h:7:0,
                     from ./include/libwr/fan.h:3,
                     from ./include/libwr/switch_hw.h:6,
                     from pps_gen.c:17:
    ./include/libwr/generic_fsm.h: In function ‘fsm_consume_state’:
    ./include/libwr/generic_fsm.h:134:3: warning: implicit declaration of function ‘pr_info’ [-Wimplicit-function-declaration]
       pr_info("%s: Enter state %s\n", fsm->fsm_name, fsm_get_state_name(fsm));
       ^
    Signed-off-by: 's avatarMichal Wasiak <michal.wasiak@gmail.com>
    18e2737a
generic_fsm.h 3.47 KB