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:
Iker Pedrosa 2013-08-05 11:58:29 +02:00 committed by Greg Kroah-Hartman
parent 5cca8c0139
commit 717d812fb2
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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