@@ -913,7 +913,7 @@ static int admt4000_get_hmag_config(struct admt4000_state *st, u8 hmag,
913913	return  0 ;
914914}
915915
916- int  admt4000_set_hphase_config (struct  admt4000_state  * st , u8  hpha ,
916+ static   int  admt4000_set_hphase_config (struct  admt4000_state  * st , u8  hpha ,
917917			       u16  pha )
918918{
919919	int  ret ;
@@ -954,7 +954,7 @@ int admt4000_set_hphase_config(struct admt4000_state *st, u8 hpha,
954954	return  admt4000_update_ecc (st , & ecc );
955955}
956956
957- int  admt4000_get_hphase_config (struct  admt4000_state  * st , u8  hpha ,
957+ static   int  admt4000_get_hphase_config (struct  admt4000_state  * st , u8  hpha ,
958958			       u16  * pha )
959959{
960960	int  ret ;
@@ -991,7 +991,7 @@ int admt4000_get_hphase_config(struct admt4000_state *st, u8 hpha,
991991	return  0 ;
992992}
993993
994- int  admt4000_get_temp (struct  admt4000_state  * st ,
994+ static   int  admt4000_get_temp (struct  admt4000_state  * st ,
995995		      bool  is_primary )
996996{
997997	int  ret ;
@@ -1035,7 +1035,7 @@ static int admt4000_get_raw_turns_and_angle(struct admt4000_state *st,
10351035	return  0 ;
10361036}
10371037
1038- int  admt4000_get_cos (struct  admt4000_state  * st , int  * val )
1038+ static   int  admt4000_get_cos (struct  admt4000_state  * st , int  * val )
10391039{
10401040	int  ret ;
10411041	int  raw_val ;
@@ -1056,7 +1056,7 @@ int admt4000_get_cos(struct admt4000_state *st, int *val)
10561056	return  0 ;
10571057}
10581058
1059- int  admt4000_get_sin (struct  admt4000_state  * st , int  * val )
1059+ static   int  admt4000_get_sin (struct  admt4000_state  * st , int  * val )
10601060{
10611061	int  ret ;
10621062	int  raw_val ;
0 commit comments