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: Iker Pedrosa <ikerpedrosam@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5cca8c0139
commit
717d812fb2
|
@ -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,10 +1,9 @@
|
|||
#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
|
||||
|
|
Loading…
Reference in New Issue