Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dda780a8 authored by KakatkarAkshay's avatar KakatkarAkshay Committed by MajorP93
Browse files

drivers: power: Fix clang error

* this old-style function definition is not preceded by a prototype [-Werror,-Wstrict-prototypes]
parent 48e5772a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9155,7 +9155,7 @@ bool oplus_chg_check_qchv_condition(void)
	return false;
}

int oplus_chg_set_qc_config()
int oplus_chg_set_qc_config(void)
{
	int ret = -1;
	struct smb_charger *chg = NULL;
@@ -10460,7 +10460,7 @@ void oplus_get_usbtemp_volt(struct oplus_chg_chip *chip)
	return ;
}

void oplus_set_typec_sinkonly()
void oplus_set_typec_sinkonly(void)
{
	int rc;
	struct smb_charger *chg = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -2122,7 +2122,7 @@ void oplus_chg_vooc_mcu_error( int error ) {
}

/*add for wireless chg*/
void oplus_chg_wireless_udpate_param()
void oplus_chg_wireless_udpate_param(void)
{
	struct oplus_wpc_chip *wpc_chip = NULL;
	oplus_get_wpc_chip_handle(&wpc_chip);