soc/samsung: Fix strict prototypes

This commit is contained in:
roynatech2544 2023-02-06 15:25:48 +00:00 committed by Gabriel2392
parent e7f00dab6d
commit c8fe547dae
4 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@
* };
*/
extern enable_hwbypass;
extern int enable_hwbypass;
static char *pmu_cal_getsfr(int sfr)
{

View file

@ -282,7 +282,7 @@ static int cpuhp_do(void)
cpuhp_print_debug_info(&new_mask);
/* if there is no mask change, skip */
if (cpumask_empty(&new_mask) |
if (cpumask_empty(&new_mask) ||
cpumask_equal(&cpuhp.mask, &new_mask))
goto out;

View file

@ -59,7 +59,7 @@ int hdcp_tee_open(void)
return 0;
}
int hdcp_tee_close()
int hdcp_tee_close(void)
{
int ret;

View file

@ -711,7 +711,7 @@ static void ufc_update_max_limit(void);
static int ufc_update_min_limit(void);
static int ufc_update_little_max_limit(void);
static void reset_limit_stat() {
static void reset_limit_stat(void) {
int user, type;
for (user = 0; user < USER_END; user++) {
@ -721,7 +721,7 @@ static void reset_limit_stat() {
}
}
static void update_limit_stat(){
static void update_limit_stat(void) {
int user, type, freq;
u64 duration = ktime_to_ms(ktime_get() - ufc.last_update_time);