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

Commit 717d812f authored by Iker Pedrosa's avatar Iker Pedrosa Committed by Greg Kroah-Hartman
Browse files

Staging: winbond: wb35reg: avoided use of extern function



Prototype of a function added to the header to avoid the use of extern.

Signed-off-by: default avatarIker Pedrosa <ikerpedrosam@gmail.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5cca8c01
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@
#define SHIFT_IQCAL_TONE_Q(x)	((x) >> 13)

void phy_set_rf_data(struct hw_data *pHwData, u32 index, u32 value);
void phy_calibration_winbond(struct hw_data *phw_data, u32 frequency);
#define phy_init_rf(_A)		/* RFSynthesizer_initial(_A) */

#endif
+1 −2
Original line number Diff line number Diff line
#include "wb35reg_f.h"
#include "phy_calibration.h"

#include <linux/usb.h>
#include <linux/slab.h>

extern void phy_calibration_winbond(struct hw_data *phw_data, u32 frequency);

/*
 * true  : read command process successfully
 * false : register not support