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
2 changed files with 2 additions and 2 deletions
|
@ -79,6 +79,7 @@
|
||||||
#define SHIFT_IQCAL_TONE_Q(x) ((x) >> 13)
|
#define SHIFT_IQCAL_TONE_Q(x) ((x) >> 13)
|
||||||
|
|
||||||
void phy_set_rf_data(struct hw_data *pHwData, u32 index, u32 value);
|
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) */
|
#define phy_init_rf(_A) /* RFSynthesizer_initial(_A) */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
#include "wb35reg_f.h"
|
#include "wb35reg_f.h"
|
||||||
|
#include "phy_calibration.h"
|
||||||
|
|
||||||
#include <linux/usb.h>
|
#include <linux/usb.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
extern void phy_calibration_winbond(struct hw_data *phw_data, u32 frequency);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* true : read command process successfully
|
* true : read command process successfully
|
||||||
* false : register not support
|
* false : register not support
|
||||||
|
|
Loading…
Add table
Reference in a new issue