From: Dave Stevenson Date: Tue, 5 Sep 2017 09:15:25 +0000 (+0100) Subject: vcsm: Replace SM_STATS_T with sm_stats_t X-Git-Tag: archive/raspbian/4.9.80-2+rpi1~5^2~92 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=315d92d4452122160ac0b82eb80a613dfa2ca7c0;p=linux-4.9.git vcsm: Replace SM_STATS_T with sm_stats_t Follows the kernel coding style Signed-off-by: Dave Stevenson --- diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c index ea4fcd787f6b..a27a5e9d4cb9 100644 --- a/drivers/char/broadcom/vc_sm/vmcs_sm.c +++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c @@ -62,7 +62,7 @@ #define VC_SM_WRITE_BUF_SIZE 128 /* Statistics tracked per resource and globally. */ -enum SM_STATS_T { +enum sm_stats_t { /* Attempt. */ ALLOC, FREE, @@ -142,7 +142,7 @@ struct sm_resource_t { enum vmcs_sm_cache_e res_cached; /* Resource cache type. */ struct sm_resource_t *res_shared; /* Shared resource */ - enum SM_STATS_T res_stats[END_ALL]; /* Resource statistics. */ + enum sm_stats_t res_stats[END_ALL]; /* Resource statistics. */ uint8_t map_count; /* Counter of mappings for this resource. */ struct list_head map_list; /* Maps associated with a resource. */ @@ -187,8 +187,8 @@ struct SM_STATE_T { struct list_head map_list; /* List of maps. */ struct list_head resource_list; /* List of resources. */ - enum SM_STATS_T deceased[END_ALL]; /* Natural termination stats. */ - enum SM_STATS_T terminated[END_ALL]; /* Forced termination stats. */ + enum sm_stats_t deceased[END_ALL]; /* Natural termination stats. */ + enum sm_stats_t terminated[END_ALL]; /* Forced termination stats. */ uint32_t res_deceased_cnt; /* Natural termination counter. */ uint32_t res_terminated_cnt; /* Forced termination counter. */