]> Pileus Git - ~andy/linux/commitdiff
Staging: winbond: wb35reg: avoided use of extern function
authorIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 5 Aug 2013 09:58:29 +0000 (11:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 21:55:49 +0000 (14:55 -0700)
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>
drivers/staging/winbond/phy_calibration.h
drivers/staging/winbond/wb35reg.c

index 84f6e840a47a9121b2fb155e3d010fb61246e068..78fc68058607ccc7f05847ded2134046662b90e5 100644 (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
index 4369be62f2360292ffb674416ffe93fa9b6112d7..a5e255bb0f8b1c2865d856820d0a30195830aae4 100644 (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